in reply to
Array of Hashes in subroutines.
You can write the line
print "$j: $hash1{$j}[0] $hash1{$j}[1] $hash1{$j}[2]\n";
as
print "$j: @{$hash1{$j}}\n";
Comment on
Re: Array of Hashes in subroutines.
Select
or
Download
Code
In Section
Seekers of Perl Wisdom