Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have been trying to work out, for the last few days no less, how to play around with vars between packages.
You know, all of $This::Kind::OfStuff
'Well Documented!' I hear you cry, and right you are... except, I cannot find any reference to how to use a var declared in the main runtime file.
So, I have my main piece of code with hashbang and a stack of use's, this main prog doesn't have any package name (since its not a module
I don't bother, of course) -- how do my external packages use vars from the root programme?
Many thanks,
-- JP
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Who's who in interpackage global vars
by arhuman (Vicar) on Feb 20, 2001 at 20:02 UTC | |
|
Re: Who's who in interpackage global vars
by baku (Scribe) on Feb 20, 2001 at 19:47 UTC | |
|
Re (tilly) 1: Who's who in interpackage global vars
by tilly (Archbishop) on Feb 20, 2001 at 20:53 UTC | |
|
Re: Who's who in interpackage global vars
by JPaul (Hermit) on Feb 20, 2001 at 20:40 UTC | |
by TheoPetersen (Priest) on Feb 20, 2001 at 20:47 UTC | |
|
Re: Who's who in interpackage global vars
by gaspodethewonderdog (Monk) on Feb 20, 2001 at 20:05 UTC | |
|
Re: Who's who in interpackage global vars
by Anonymous Monk on Feb 20, 2001 at 21:34 UTC | |
|
Re: Who's who in interpackage global vars
by Anonymous Monk on Feb 20, 2001 at 21:04 UTC | |
by davorg (Chancellor) on Feb 20, 2001 at 21:11 UTC |