in reply to Re: Apache::Registry - shared variable?
in thread Apache::Registry - shared variable?
Also, one of Apache::Registry's shortcomings was a confusing and somewhat incomplete approach to sharing variables among sessions. Since the code is cached, the variables aren't automatically re-initialized each time the script is run. This might solve your problem:
my $foo ; ## usually ok in perl
my $foo = undef ; ## an Apache::Registry requirement?
If you're not committed to Apache::Registry. Consider an alternative. Also, the mod_perl mailing list: