There's more than one way to do things | |
PerlMonks |
Re: sorting a file by a date:"YYYY-MM-DD" field with cmpby MidLifeXis (Monsignor) |
on Jun 16, 2015 at 17:46 UTC ( [id://1130654]=note: print w/replies, xml ) | Need Help?? |
You beat me to your solution. The why is context. Specifically, the original is in scalar context, which will return Update: test my understanding of the return value from a pattern match, and correct the statement. --MidLifeXis
In Section
Seekers of Perl Wisdom
|
|