Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: How to sort the data in Array which has format MMYY

by kum@12 (Initiate)
on Jul 03, 2013 at 15:19 UTC ( [id://1042235]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    my (@months) = qw(Mar13 Jun13 Jul13 Apr13 );
    ...
    @months = ( sort by_month @months );
    
    print "@months\n";
    
  2. or download this
    Mar13 Jun13 Jul13 Apr13
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-19 12:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found