in reply to hash of complex records example
print "%_\n";I think your code is really:
print "$_\n";
Use keys:
foreach (keys %TV ) { print "$_\n"; }
Use sort if you want the output order to be predictable ( perldsc).
foreach (sort keys %TV ) { print "$_\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: hash of complex records example
by simmisam (Novice) on Jan 09, 2014 at 06:01 UTC | |
by rudds_perl_habit (Novice) on Jan 09, 2014 at 15:14 UTC |