in reply to Sorting Criteria
Aristotle already told what was wrong, so here is a suggestion for your sort method:
T I M T O W T D I
sub sorter { "$hashYear{$a}$hashMonth{$a}$hashDay{$a}" <=> "$hashYear{$b}$hashMon +th{$b}$hashDay{$b}" }
T I M T O W T D I
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Sorting Criteria
by sgifford (Prior) on Aug 05, 2003 at 18:48 UTC | |
by Cine (Friar) on Aug 05, 2003 at 20:03 UTC |
In Section
Seekers of Perl Wisdom