Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Changing a variable which is a value of a hashby Your Mother (Archbishop) |
on Apr 16, 2015 at 15:56 UTC ( [id://1123635]=note: print w/replies, xml ) | Need Help?? |
This sounds like an iteration of this issue: Why it's stupid to `use a variable as a variable name' . See also, dynamic scalar names?, How can I use the value of a scalar as the name of an array variable?, and perlfaq7 (How can I use a variable as a variable name?) among others. Don’t feel bad if it’s what’s going on. It seems direct/correct at first to many hackers.
In Section
Seekers of Perl Wisdom
|
|