Global perl variables across all threads with rlm_perl ?

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Feb 6 12:06:36 CET 2014


On 6 Feb 2014, at 10:44, Chaigneau, Nicolas <nicolas.chaigneau at capgemini.com> wrote:

> Hello,
>  
>  
> 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 ?

Why?

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20140206/288d86f6/attachment.pgp>


More information about the Freeradius-Devel mailing list