in reply to Re^2: How to read data file into an array of hashes
in thread How to read data file into an array of hashes
(not tested)for my $entry ( sort { $a->{town} cmp $b->{town} } @client ) { printf "%s\t%s\t%s\n", $entry->{town}, $entry->{surname}, $entry-> +{firstname}; }
(updated to add missing "->" in the printf statement, based on fseng's reply below)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to read data file into an array of hashes
by fseng (Novice) on Jun 25, 2009 at 06:00 UTC | |
|
Re^4: How to read data file into an array of hashes
by fseng (Novice) on Jun 26, 2009 at 00:14 UTC |