in reply to Re^2: Challenge: sort weekdays in week-order -- Lokiday
in thread Challenge: sort weekdays in week-order (elegantly and efficiently)

> even with your code I hit Error parsing time at C:/perl5.26.64bit/perl/lib/Time/Piece.pm line 581.

That's weird, I'm running it without errors on 5.26.1 (Time::Piece 1.31).

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^4: Challenge: sort weekdays in week-order -- strptime errors
by Discipulus (Canon) on Jul 22, 2022 at 11:00 UTC
    I remebemer weird results from strptime and strftime on windows but atm I cannot find the thread, I'll msg you and update the thread if i find something

    This is perl 5, version 26, subversion 0 (v5.26.0) built for MSWin32-x +64-multi-thread $Time::Piece::VERSION 1.3201

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.