Help for this page
my %fh; for my $i ( 2, 3 ) { ... } # you now have multiple file handles indexed by file name in %fh
my %filedata; for my $i ( 2 .. 3 ) { ... # you now have the full content of each file as a single string value, # indexed by file name in %filedata