in reply to Using variable contents in new variable name
You should use a different type of data structure instead - arrays and hashes are very appropriate here.
my @work_array; $work_array[5] = "plumbing"; my %work_hash; $work_hash{5} = "plumbing";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using variable contents in new variable name
by geekphilosopher (Friar) on Dec 11, 2006 at 06:20 UTC | |
by johngg (Canon) on Dec 11, 2006 at 09:18 UTC |