Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Sorting hash keys according to different criteria

by Bilbo (Pilgrim)
on Jun 24, 2003 at 15:57 UTC ( #268565=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @months = qw(January February March ... );
    
  2. or download this
    foreach my $month {@months} {
       print "$month has $days{$month} days\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://268565]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2022-05-21 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (76 votes). Check out past polls.

    Notices?