Perl :how to sort dates in perl

Posted by kiruthika on Stack Overflow See other posts from Stack Overflow or by kiruthika
Published on 2010-03-22T10:40:13Z Indexed on 2010/03/22 10:41 UTC
Read the original article Hit count: 993

Filed under:

Hi,

How can I sort the dates in perl.

my @dates = ( "02/11/2009" , "12/20/2001" , "11/21/2010" ) ;

I have above dates in my array . How can I sort those dates... ?

My date format is dd/mm/YYYY.

© Stack Overflow or respective owner

Related posts about perl