Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: [Solved]Need to extract a particular block of lines between two patterns

by Anonymous Monk
on Nov 09, 2017 at 02:19 UTC ( #1202993=note: print w/replies, xml ) Need Help??


in reply to Re: [Solved]Need to extract a particular block of lines between two patterns
in thread [Solved]Need to extract a particular block of lines between two patterns

Thank you for your javascript solution to a perl question. When I do run it in perl I get:
Bareword found where operator expected near "// state" elseif should be elsif syntax error near "// state " Bareword "false" not allowed while "strict subs" in use Bareword "false" not allowed while "strict subs" in use Bareword "false" not allowed while "strict subs" in use Bareword "true" not allowed while "strict subs" in use
  • Comment on Re^2: [Solved]Need to extract a particular block of lines between two patterns
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1202993]
help
Chatterbox?
and the fog begins to lift...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2018-07-21 06:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (444 votes). Check out past polls.

    Notices?