http://qs321.pair.com?node_id=1130656


in reply to sorting a file by a date:"YYYY-MM-DD" field with cmp

Pull out only the date lines using grep.

@events = sort sortByDate grep { /date:/ } @events;
Dum Spiro Spero