Re: global hash variable perl

2011-03-01 Thread Vinh Nguyen
a...@digriz.org.ukwrote: Hi, * Vinh Nguyen vhn2...@gmail.com [2011-03-01 00:37:17-0600]: something is very strange in my case. I used the global variable like you pointed out. Then I tested the logic and it seems like the hash variable isn't cache properly. The data is not cached. I gave up and tried

Re: global hash variable perl

2011-02-28 Thread Vinh Nguyen
be odd at times... On 25 Feb 2011, at 20:25, Vinh Nguyen wrote: hi all, I was able to setup my freeradius to use perl and mysql. Things are working ok. I wanted to use a global hash variable to store information. This way all other requests can also access this hash variable

Re: global hash variable perl

2011-02-28 Thread Vinh Nguyen
I did very similar to your example before but it didn't do it. I perl module name is .pl instead of .pm like yours is it possible you can show me your radius.conf - related to perl section? thanks. On Mon, Feb 28, 2011 at 1:40 PM, Alexander Clouter a...@digriz.org.ukwrote: Vinh Nguyen vhn2

Re: global hash variable perl

2011-02-28 Thread Vinh Nguyen
is caching the data as expected. But I'm a bit confused as why it wasn't working in the first place. On Mon, Feb 28, 2011 at 4:11 PM, Alexander Clouter a...@digriz.org.ukwrote: Hi, * Vinh Nguyen vhn2...@gmail.com [2011-02-28 15:17:30-0600]: is it possible you can show me your radius.conf - related

global hash variable perl

2011-02-25 Thread Vinh Nguyen
hi all, I was able to setup my freeradius to use perl and mysql. Things are working ok. I wanted to use a global hash variable to store information. This way all other requests can also access this hash variable. Is this doable? I know you can use mysql for this purpose, but i wanted to reduce