Do you know where your variables are? | |
PerlMonks |
Re: variable as hash nameby Anonymous Monk |
on Dec 08, 2012 at 09:19 UTC ( [id://1007871]=note: print w/replies, xml ) | Need Help?? |
PLEASE, dont't tell me I dont want to do this. I want to do exactly what I said above. Not to use hash of hashes or anything else. I DO want to use a variable as a hash name and I'm aware of the risks. So you know that article, and countless nodes, that explains why doing this is dangerous? It also explains exactly how to do it! So go ahead and RTFM the FAQ, that is why it exists, so you can read it using a string as a SCALAR ref while "strict refs" in use
In Section
Seekers of Perl Wisdom
|
|