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

Can you show us a short example of input that fails to work but should work in your opinion?

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

Replies are listed 'Best First'.
Re^2: 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:00 UTC
    im sorry but im not really sure what you are asking for.
      A short example of input that fails to work but should work in your opinion.
        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 =>