in reply to
Matching across multiple lines
Unless you are already localizing
$/
, you're reading in line by line, so your $_ will never have a match in it. You either need to slurp in the entire file, or break it up in some manner so as to comprise multiple lines.
Comment on
Re: Matching across multiple lines
In Section
Seekers of Perl Wisdom