There are two red flags here:
Of course, it still is possible in Perl do use a variable to access a second variable by name, this is called a "soft reference", but unless you can tell us more about why you can't use an array or a hash as a solution instead, it is better for you to first learn about how to do that.
In reply to Re: naming a variable with the datum from another variable
by Corion
in thread naming a variable with the datum from another variable
by duncharris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |