Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
That didn't work. Can I solve this another way?my (@arr_type1, @arr_type2, ... ); $type = get_type(); print "1st member of $type = ${arr_${type}}[0]\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: computed variable names
by japhy (Canon) on Jan 14, 2000 at 02:26 UTC | |
|
RE: computed variable names
by nate (Monk) on Jan 13, 2000 at 21:29 UTC |