Darxus
Perl sort by regex.
Darxus
View
Recent Entries
Archive
Friends
User Info
Perl sort by regex.
darxus
10/7/09
04:28 pm
my @sorted = sort { ($a =~ /(\d{12})/)[0] <=> ($b =~ /(\d{12})/)[0] } @lines;
Powered by
LiveJournal.com