foreach my $key (sort(keys %array)) { print "$key = $array{$key}\n"; }
In reply to Re: each() function used in associative arrays gives incorrect unordered output.
by uwevoelker
in thread each() function used in associative arrays gives incorrect unordered output.
by an_ordinary_man
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |