in reply to Re^3: Need help figuring out how to order/eval the numbers
in thread Need help figuring out how to order/eval the numbers
for my $ita (sort { sort_italian() } keys %hash) { # loop code goes here }
Here's what the code above does.
See perlsyn for more info on the for (also known as foreach) operator. See the section "Foreach Loops" there; stay away from the C-style loops described in the "For Loops" section unless you know you need one.
Aaron B.
Available for small or large Perl jobs and *nix system administration; see my home node.
|
---|