in reply to Matching HTML Comments
if ($response->content =~/<!-- \[error\] -->(.+?)<!-- \[\/error\] -->/ +m +) { print "$1\n"; } [download]