Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: variable as hash name

by Anonymous Monk
on Dec 08, 2012 at 09:19 UTC ( #1007871=note: print w/replies, xml ) Need Help??


in reply to variable as hash name

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007871]
help
Chatterbox?
[jedikaiti]: Happy Monday
[Tanktalus]: What's so happy about it? :P
[Tanktalus]: ww: your parens don't line up. Sure, perl can look like line noise, but the parens still have to line up. ;)
[Tux]: 1nickt did you build 5.24.3, 5.26.1, and 5.27.4 yet?

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2017-09-25 16:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (282 votes). Check out past polls.

    Notices?