The stupid question is the question not asked | |
PerlMonks |
Re: Who's who in interpackage global varsby gaspodethewonderdog (Monk) |
on Feb 20, 2001 at 20:05 UTC ( [id://59680]=note: print w/replies, xml ) | Need Help?? |
you'd use $main::string or &main::function ... you get the idea... You could always make the main into a package. Nothing keeps you from doing that either. In fact if you plan on reusing any of the code anyways you might just want to do that for sanity sake.
In Section
Seekers of Perl Wisdom
|
|