P is for Practical | |
PerlMonks |
Re: Create an array reference from a stringby Corion (Patriarch) |
on Apr 12, 2004 at 19:28 UTC ( [id://344493]=note: print w/replies, xml ) | Need Help?? |
While it is possible to do what you say that you want in Perl, it is not advisable. Please read Mark Jason Dominus' excellent Why it's stupid to `use a variable as a variable name' about it. Most likely, you do want real references or a hash instead.
In Section
Seekers of Perl Wisdom
|
|