Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Sorting The Date format Values without using any perl modules.

by TedPride (Priest)
on Dec 26, 2005 at 21:21 UTC ( [id://519208]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @list = ('2005-12-01', '2005-11-02', '2005-12-07');
    @list = sort @list;
    print join "\n", @list;
    
  2. or download this
    @list = reverse sort @list;
    
  3. or download this
    use strict;
    use warnings;
    ...
    @sort;
    
    print join "\n", @sort;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-20 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found