in reply to Catching multiple lines and assigning them as a single array element

Its easy, slurp the file ( Path::Tiny ), then you're working with all the lines, then you can match across multiple lines

Use Regexp::Common , maybe $RE{balanced}{-parens=>'()'}

  • Comment on Re: Catching multiple lines and assigning them as a single array element

Replies are listed 'Best First'.
Re^2: Catching multiple lines and assigning them as a single array element
by kort (Initiate) on Nov 03, 2015 at 20:20 UTC

    Thanks a lot - worked like a charm ;)