Just another Perl shrine | |
PerlMonks |
Re: Dynamic variables and strictby dewey (Pilgrim) |
on May 02, 2007 at 20:44 UTC ( [id://613259]=note: print w/replies, xml ) | Need Help?? |
My instinct here would be to make a hash.
This would tell you (and anyone who reads your code!) that values accessed using the hash came from outside the program. It also seems to clean up uninitialized varible issues... I don't know, it just seems right to use a hash to relate keys to values. ~dewey
In Section
Seekers of Perl Wisdom
|
|