SPUG: Scope question
Peter Darley
pdarley at kinesis-cem.com
Tue Jun 11 17:00:09 CDT 2002
Friends,
I have a scope question. I'm using mod_perl with apache, and it seems like
in my main script (the one that the URL points to) when I do 'use vars
qw($Thing1 %Thing2)' $Thing1 and %Thing2 are not available to functions in
modules called from the main script. Is this just an illusion and I have
some other problem, or is this the way things work? If so, is there some
way I can share a variable with modules being used by a script?
Thanks,
Peter Darley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org
More information about the spug-list
mailing list