Global perl variables across all threads with rlm_perl ?

Chaigneau, Nicolas nicolas.chaigneau at
Thu Feb 6 11:44:30 CET 2014


I'm trying to use global variables in the perl code of a rlm_perl instance.

What I notice is that such variables do persist, but that each FreeRADIUS thread has its own instance of the global variables.

I would like to have some global variables shared by all threads.
Is that possible with rlm_perl ?

(perl is built with useithreads=define)


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Devel mailing list