|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: Dereferencing simple variableby akho (Hermit) |
| on Apr 01, 2009 at 13:45 UTC ( [id://754702]=note: print w/replies, xml ) | Need Help?? |
|
It looks like you are trying to use variable names stored in strings? This is not a very good thing to do, and you should probably reconsider.
However if you insist on doing that, you should look into symbolic references (see perlref). They only work with package variables, however (not those created with my). This seems to work:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||