If you want to "scrub" or "sanitize" html input in a reliable and flexible fashion, then this module is for you. . The author says: "I was not satisfied with HTML::Sanitizer because it is based on HTML::TreeBuilder, so I thought I would write something similar that works directly with HTML::Parser".