Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Challenge: sort weekdays in week-order -- Lokiday

by choroba (Cardinal)
on Jul 22, 2022 at 10:28 UTC ( [id://11145650]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11145650]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-26 05:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found