in reply to sorting entires by date
If, as your sample data indicates, your lines are of a consistant fixed format, then a simpler sort using substr would suffice.
my @sorted = sort{ substr( $a, 19 ) cmp substr( $b, 19 ) } <FILE>;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: sorting entires by date
by Aristotle (Chancellor) on Jan 02, 2004 at 00:27 UTC | |
by ysth (Canon) on Jan 02, 2004 at 01:19 UTC | |
by jweed (Chaplain) on Jan 02, 2004 at 01:16 UTC | |
by BrowserUk (Patriarch) on Jan 02, 2004 at 01:34 UTC |
In Section
Seekers of Perl Wisdom