Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by Anonymous Monk
on Apr 17, 2017 at 21:05 UTC ( [id://1188170]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl reading in a file and getting a string in between two strings on different lines
in thread Perl reading in a file and getting a string in between two strings on different lines

A short example of input that fails to work but should work in your opinion.
  • Comment on Re^3: Perl reading in a file and getting a string in between two strings on different lines

Replies are listed 'Best First'.
Re^4: Perl reading in a file and getting a string in between two strings on different lines
by victorz22 (Sexton) on Apr 17, 2017 at 21:09 UTC
    So the output i am getting gathers everything up to the $endString but fails to ignore everything before the $beginString.
    SEARCH => #Beginning of data I need ....... ........ #all the data I need ....... ..... #End of Data I Need TEST =>

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-19 05:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found