No such thing as a small change | |
PerlMonks |
Re: Array of Hashes in subroutines.by suhailck (Friar) |
on Sep 18, 2010 at 17:06 UTC ( [id://860648]=note: print w/replies, xml ) | Need Help?? |
You can write the line print "$j: $hash1{$j}[0] $hash1{$j}[1] $hash1{$j}[2]\n"; as print "$j: @{$hash1{$j}}\n";
In Section
Seekers of Perl Wisdom
|
|