Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: 12 days of Perl?

by choroba (Cardinal)
on Apr 30, 2021 at 18:31 UTC ( [id://11131920]=note: print w/replies, xml ) Need Help??


in reply to 12 days of Perl?

s/%/ing,/
gives 339.

Update 335:

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

Replies are listed 'Best First'.
Re^2: 12 days of Perl?
by johnaj (Sexton) on Apr 30, 2021 at 22:00 UTC

    Wow, that's a clever usage of $@!

Re^2: 12 days of Perl?
by WithABeard (Sexton) on May 09, 2023 at 12:07 UTC

    why the heredoc, is there an older version of perl that must be supported where simple strings could not be multiline?

    this is 333, works on 5.32 atleast:

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-19 06:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found