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"; }
In reply to Re: hash of complex records example
by toolic
in thread hash of complex records example
by rudds_perl_habit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |