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

Re^8: Preprocessing print statements

by karlgoethebier (Abbot)
on Nov 14, 2020 at 10:12 UTC ( [id://11123643]=note: print w/replies, xml ) Need Help??


in reply to Re^7: Preprocessing print statements
in thread Preprocessing print statements

"...better strategy..."

Tja, I'm not sure.

Consider use of last:

# Some possible answers #1: The solution is obvious. #2: Use a block. #3 Make it so: KARL: { if ($x) { $y or last; print "Continue with the if clause\n"; } }

Best regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-16 16:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found