in reply to Parsing multiple lines based on a given String
Rather that keeping track of multiple lines, consider combining the lines as in join two lines in a file? or Combine multiple lines into one line and then using a regular expression to obtain the scalar values.
In Section
Seekers of Perl Wisdom