Avoid Symbolic References
Beginners often think they want to have a variable contain the name of a variable.
$fred = 23; $varname = "fred"; ++$varname; # $fred now 24
Use a hash or a real reference instead.
< And
Using A Hash Instead of $$name >
Table of Contents
|
Page 22
YAPC 19101
, June 2001
Perl Idioms
Nathan Torkington