Alessandro Forghieri wrote:

Alessandro Forghieri wrote:
[...]


use Bar qw($foo);

if($foo) {
...
Global symbol "$foo" requires explicit package name at
use vars qw($foo);
use Bar qw($foo);

[...]


Not sure I am following you here. $foo is in the @EXPORT_OK list of module
Bar, which is, in turn,an Exporter. It is my understanding that this should
work (as it does after
the impersonated user has been given Admin powers).
You have to declare variables as globals before using them. Even the imported ones. That's a pure perl issue. Please proceed to the perl lists/groups/monks for further discussion.

__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com

Reply via email to