Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
(jeffa - data hiding) Re: Re: Re: Stupid questionby jeffa (Bishop) |
on Dec 07, 2000 at 02:51 UTC ( [id://45374]=note: print w/replies, xml ) | Need Help?? |
I personally think that 'main' variables, while able to be
accessed by subroutines declared in the same package, are
safe enough, as long as you don't access them directly in
a subroutine.
Declare you variables in main, just don't use them directly in your subroutines and you'll be okay. Jeff
In Section
Seekers of Perl Wisdom
|
|