Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Using Scalar In Array Name?

by no_slogan (Deacon)
on Jan 20, 2014 at 00:50 UTC ( [id://1071251]=note: print w/replies, xml ) Need Help??


in reply to Re: Using Scalar In Array Name?
in thread Using Scalar In Array Name?

True, but you really shouldn't use a variable as a variable name unless you're absolutely sure there isn't a better way. That way lies madness. Go with the hash-of-arrays idea instead.

Update: D'oh, scooped by Jim.

Replies are listed 'Best First'.
Re^3: Using Scalar In Array Name?
by Jim (Curate) on Jan 20, 2014 at 00:57 UTC
      I don't think it makes the case strongly enough. I would have linked Dominus's take on this like you did, if I had known where to find it.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1071251]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-20 05:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found