There's more than one way to do things | |
PerlMonks |
Re: O, the horrors of references and complex data structuresby runrig (Abbot) |
on Feb 06, 2001 at 01:45 UTC ( [id://56514]=note: print w/replies, xml ) | Need Help?? |
As an alternative to copying the hash every time, I'd prefer to ditch the global variable and pass a hash reference to all the subroutines (depending on the size of the hash, it could be worthwhile efficiency-wise), something like:
In Section
Seekers of Perl Wisdom
|
|