|more useful options|
Re: Perl Sort date and time inside csv fileby 2teez (Vicar)
|on Feb 11, 2016 at 09:50 UTC||Need Help??|
There is a number of things to point out in your code. Of course some of them are good practice while others are style and preference.
Now, to your data, just like hdb said you weren't sorting. Something like so should give what you expected, though you didn't show us that.
Hope this helps.
update:In the solution I have provided earlier, there is no need for the function grep, the code would still have worked without it. Thanks AnomalousMonk for pointing that out. ++ for you!! There
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me