in reply to Regex on HTML across multiple lines with WWW::Mechanize->content()

Use the s and/or m operator, documented in perlre:

  • Comment on Re: Regex on HTML across multiple lines with WWW::Mechanize->content()