Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: using variables in late contexts?

by Eimi Metamorphoumai (Deacon)
on Nov 26, 2002 at 22:46 UTC ( [id://215957]=note: print w/replies, xml ) Need Help??


in reply to using variables in late contexts?

Although the other replies will probably work, the idea is probably misguided. There are very, very few places where it's a good idea to use variables for variable names, and this isn't one of them. Try to rewrite your code using a hash instead. See mjd's excellent post for more information.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-03-29 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found