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