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

Re: Re: Re: Date comparison

by dws (Chancellor)
on Jul 05, 2002 at 23:07 UTC ( [id://179760]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my @sorted = sort {str2time($a) <=> str2time($b)} @dates;
  2. or download this
      my %cache;
      my @sorted = sort {($cache{$a} ||= str2time($a)) <=>
                         ($cache{$b} ||= str2time($b)) } @dates;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-24 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found