in reply to Re^2: sorting hash alphabetically with numbering
in thread sorting hash alphabetically with numbering
printf takes a FORMAT: in this case, that's "%d: %s, %s\n". Those FORMATs are documented under the related function sprintf.
The 'for @sorted' part is a statement modifier: documented under perlsyn: Statement Modifiers.
Hopefully, the remaining parts are clear. If not, please specify what part(s) you're having difficulty with.
— Ken
|
|---|