Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Regex Mystery

by choroba (Cardinal)
on Apr 13, 2025 at 17:54 UTC ( [id://11164689]=note: print w/replies, xml ) Need Help??


in reply to Re: Regex Mystery
in thread Regex Mystery

> FYI coding while tired is a recipe for adding errors to code that you will find hard to find later.

But sometimes, coding while tired delivers at least something before the deadline. Life is hard.

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

Replies are listed 'Best First'.
Re^3: Regex Mystery
by LanX (Saint) on Apr 13, 2025 at 19:15 UTC
    There are various benefits of coding before sleep
    • you get started
    • you keep your sleeping brain busy with non social stuff
    • you may wake up with a solution
    • you may not contribute to the gene pool of the human race

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery

      Ha ha ha ha! Now that's funny! :)

      "It's not how hard you work, it's how much you get done."

Re^3: Regex Mystery
by cavac (Prior) on Apr 18, 2025 at 13:39 UTC

    But sometimes, coding while tired delivers at least something before the deadline.

    Yes, it does. Mostly the privilege of fielding support calls all weekend long, therefore pissing off the significant other. And the option to watch your favourite movies all night long, since you're gonna sleep on the couch anyway...

    PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
    Also check out my sisters artwork and my weekly webcomics

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2025-07-09 18:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.