Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Using the Variable Name from an Array

by davido (Cardinal)
on Nov 14, 2019 at 17:48 UTC ( #11108687=note: print w/replies, xml ) Need Help??


in reply to Using the Variable Name from an Array

Learn about proper references (perlref, perlreftut, perldsc, perllol), and hashes (perldata, perlintro). You're asking about how to do a thing because you are unaware of a better thing to do. Symbolic references are possible (and the reading I linked to will even show you how), but there are vastly better ways to do what you want using hashes, and first-class references.


Dave

  • Comment on Re: Using the Variable Name from an Array

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2020-05-26 18:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (150 votes). Check out past polls.

    Notices?