in reply to Re: sorting entires by date
in thread sorting entires by date
He has filenames in there, so assuming that the format is fixed is more than likely moot. But seeing as it is the last field we're interested, the following will work:
my @sorted = sort { substr( $a, 1 + rindex, $a, ':' ) cmp substr( $b, 1 + rindex, $b, +':' ) } <>;
Makeshifts last the longest.
In Section
Seekers of Perl Wisdom