in reply to Re^2: sorting dates in YYYYMMDD format
in thread sorting dates in YYYYMMDD format
Do you realize, that
join('', (/(..)(..)(....)/)[0,1,2])
does not change a string $_ of length 8 in any way? (Apart from burning CPU cycles...). The regex also does not fit very well when splitting YYYYMMDD into pieces.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: sorting dates in YYYYMMDD format
by Dallaylaen (Chaplain) on Jul 04, 2013 at 12:49 UTC | |
by AnomalousMonk (Archbishop) on Jul 04, 2013 at 18:41 UTC | |
by Dallaylaen (Chaplain) on Jul 05, 2013 at 03:55 UTC |
In Section
Seekers of Perl Wisdom