Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Re: Re: Stupid questionby chipmunk (Parson) |
on Dec 07, 2000 at 02:52 UTC ( [id://45375]=note: print w/replies, xml ) | Need Help?? |
If you are worried about the subroutines accessing these variables, this is the way to avoid the problem; go for it! It is a good programming practice to have subroutines get all their input through the argument list and not through external variables, because it makes the code more maintainable.
In Section
Seekers of Perl Wisdom
|
|