Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2022-12-05 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?