in reply to Dynamic Variable Names?
I'm trying to do something like this: my @fee; for (my $i=0; $i < $MAX_ROWS; $i++){ my $eval_str = "push @fee, \$foo_$i"; eval($eval_str); }#end loop
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dynamic Variable Names?
by Abigail-II (Bishop) on Jul 23, 2002 at 15:58 UTC | |
by Anonymous Monk on Jul 23, 2002 at 23:41 UTC | |
by Abigail-II (Bishop) on Jul 24, 2002 at 08:37 UTC | |
by Anonymous Monk on Jul 25, 2002 at 00:36 UTC |