Do you know where your variables are? | |
PerlMonks |
Re: getting in trouble avoiding global variablesby webfiend (Vicar) |
on Dec 09, 2008 at 00:25 UTC ( [id://729061]=note: print w/replies, xml ) | Need Help?? |
Quick and dirty: Use [] to initialize an arrayref. Also, arrow notation makes most things clearer to me.
Good luck cleaning up the old code, by the way. That sort of pastime caused a good 50% of my gray and missing hairs.
In Section
Seekers of Perl Wisdom
|
|