Is there a way I can sort these Date Strings in ascending or descending order?
Sure, see perldoc -f sort.
sort can sort numerical strings in ascending: { $a <=> $b } and descending { $b <=> $a } order.
You may find a multitude of Time and Date modules on CPAN if you feel strings aren't handy enough.
Cheers, Sören
In reply to Re: Sorting Array of dates in Perl
by Happy-the-monk
in thread Sorting Array of dates in PERL
by ginju
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |