in reply to Dynamic Variable Names?

The syntax is like so
my $local_foo = ${"foo_$i"}
But symbolically referenced variables are generally a bad idea. A better option would be to use either a hash or an array (as would be fitting in your case) e.g
my @fee; for (0 .. $MAX_ROWS){ push @fee, $foo[$_]; }
or better yet
my @fee = @foo[0 .. $MAX_ROWS];
The last example is an array slice documented in the perldata manpage.
HTH

_________
broquaint