Here is a comment from one of the guys in #perl as to what happened
<ology> robb_m: Obviously, my ($description) = $content =~ m/<h3>DESCRIPTION<\/h3><pre>\s*(.*?)\s*<\/pre>/is; is not working. Also, don't parse HTML with regular expressions..
<ology> perl -wle'$_="<h3>DESCRIPTION<\/h3><pre> abc 123 <\/pre>"; print /<h3>DESCRIPTION<\/h3><pre>\s*(.*?)\s*<\/pre>/is ? "Y: $1" : "N"' # works just fine. $content is not what you think it is.
Here is a comment from one of the guys in #perl as to what happened
<ology> robb_m: Obviously, my ($description) = $content =~ m/<h3>DESCRIPTI ON<\/h3> <pre>\s* (.*?)\s* <\/pre> /is; is not working. Also, don't parse HTML with regular expressions..
<ology> perl -wle'$_ ="<h3>DESCRIPTI ON<\/h3> <pre> abc 123 <\/pre>"; print /<h3>DESCRIPTIO N<\/h3> <pre>\s* (.*?)\s* <\/pre> /is ? "Y: $1" : "N"' # works just fine. $content is not what you think it is.