in reply to Re: sorting hash alphabetically with numbering
in thread sorting hash alphabetically with numbering
It works perfectly, but I don't quite follow this line...
printf "%d: %s, %s\n", ++$n, $_, $cities{ $_ } for @sorted;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: sorting hash alphabetically with numbering
by kcott (Archbishop) on Oct 12, 2015 at 04:07 UTC |