Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Global Varsby roboticus (Chancellor) |
on Sep 04, 2009 at 15:01 UTC ( [id://793477]=note: print w/replies, xml ) | Need Help?? |
tbone1:
Nice technique. It seems to me that it's a handy step on the way to splitting things off into modules and/or object-oriented bits. Since all the references go through your global hash anyway, when you split off a function/module/object, the code in your subroutines wouldn't have to change much: BEFORE AFTER ...roboticus
In Section
Seekers of Perl Wisdom
|
|