perlquestion
davidraske
I thought this was possible, but for some reason its not working...
<code>I have a large form with many similarly names vars...all appended with a trailing increasing int.
$foo_2, $foo_3, $foo_4,... $foo_100
I'm trying to do something like this:
my @fee;
for (my $i=0; $i < $MAX_ROWS; $i++){
my $local_foo = $foo_$i;
push @fee, $local_foo;
}#end loop
</code>
But my syntax is off I guess...any ideas?
<p><font size="-2">s/pre/code/ - [dvergin] 2002-07-23</font></p>