Think about Loose Coupling | |
PerlMonks |
Re: Can you create *real* global variables?by Ido (Hermit) |
on Jan 25, 2002 at 01:11 UTC ( [id://141335]=note: print w/replies, xml ) | Need Help?? |
The special vars of Perl aren't REAL global. They simply live in the main:: package. The magic is that when you write $! it's enforced to the main package...
In Section
Seekers of Perl Wisdom
|
|