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 | [reply] |
# <= 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
| [reply] [d/l] |
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).
| [reply] [d/l] |