|
|
| Think about Loose Coupling | |
| PerlMonks |
Re^3: prob w/ gatekeeper subroutineby rowdog (Curate) |
| on Sep 29, 2010 at 21:58 UTC ( #862718=note: print w/ replies, xml ) | Need Help?? |
|
I use them as global variables and a global hash so that the subroutines permanently change them. Don't do that. It's called action at a distance and it's considered a bad practice. Instead of modifying a global variable, you should return a value from entersys().
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||