Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: Extract Block Of Text From Log

by LanX (Saint)
on Nov 23, 2018 at 10:22 UTC ( [id://1226217]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Extract Block Of Text From Log
in thread Extract Block Of Text From Log

> only understandable by perlmonks" ;-)

I disagree because state-machines need a lot of documentations and flip/flop is well documented in perldoc.

At worst you'll just need to add a link in the comments.

> just like to write easy-to-read easy-to-port examples.

So consequently you use goto instead of loop constructs, to keep it easily portable to assembler? ;-)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^5: Extract Block Of Text From Log
by cavac (Parson) on Nov 23, 2018 at 12:14 UTC

    I very rarely use goto, but there are a few cases where it is the correct function to use.

    perl -e 'use MIME::Base64; print decode_base64("4pmsIE5ldmVyIGdvbm5hIGdpdmUgeW91IHVwCiAgTmV2ZXIgZ29ubmEgbGV0IHlvdSBkb3duLi4uIOKZqwo=");'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-23 22:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found