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

Re: Perl reading in a file and getting a string in between two strings on different lines

by Anonymous Monk
on Apr 18, 2017 at 00:55 UTC ( [id://1188186]=note: print w/replies, xml ) Need Help??


in reply to Perl reading in a file and getting a string in between two strings on different lines

What output do you expect to see from this input?
'Twas brillig, and the slithy toves SEARCH Did gyre and gimble in the wabe SEARCH All mimsy were the borogoves TEST And the mome raths outgrabe
Reasonable that you might want to see just the borogoves, but the solutions people have given will print the wabe as well.
  • Comment on Re: Perl reading in a file and getting a string in between two strings on different lines
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-18 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found