Thanks (++) for that hilarious link to pornolize. I can't understand why people appear to be --ing your node (and are likely to do that to THIS node as well) - Lighten up, people ! The OP's question is legitimate. You may think, perhaps it needs a Warning notice that the link may not be suitable for underage, or easily offended people, but with a name like PORNOLIZE, a reasonable person should realize its potential for offense to the uber-sensitive. Personally, I was ROFLMAO!
Anyway I think a better candidate to do what you want is HTML::Parser.
"As you get older three things happen. The first is your memory goes, and I can't remember the other two... "
- Sir Norman Wisdom