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 reply to Re: Create an array reference from a string
by Corion
in thread Create an array reference from a string
by xorl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |