Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Indirect addressing problem

by parv (Parson)
on Aug 28, 2015 at 01:57 UTC ( [id://1140272]=note: print w/replies, xml ) Need Help??


in reply to Indirect addressing problem

"Straight and narrow" does not go with the solution that you are apparently looking for: eval & symbolic reference.

Replies are listed 'Best First'.
Re^2: Indirect addressing problem
by tel2 (Pilgrim) on Sep 02, 2015 at 05:30 UTC
    Hi parv,
    Do you mean that I:
    - should not be using eval & symbolic references. If so, in what way am I doing that now?
    - should be using eval & symbolic references instead?

    Thanks.
    tel2

       # <= Not working!!! is the part where you tried symbolic references... but the way its written it could only possibly work by using eval

      It is not a good solution, since you could simply use regular reference

      http://perl.plover.com/varvarname.html explains how to do it, whats wrong with it, the code is fundamentally unsafe, like smoking in bed while juggling flaming chainsaws in bed

      Below is what already had been stated in other words; feel free to ignore ...

      "Straight and narrow" solution had already been mentioned.

      My point was that if one reads up on eval function and what, how, why (not) of symbolic reference, then one would|should be able to generate a solution (for "var-var" usage).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-19 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found