Help for this page
use strict; use HTML::OOMarkupRemover; ... $hsmr->passes_rules($some_html) or die "Ack! I can't cope!"; my $clean_html = $htmr->apply_rules($some_html);
use strict; use HTML::ProceduralMarkupRemover; ... html_passes_rules($some_html, \%html_rules) or die "Ack! I can't cope!"; my $clean_html = apply_html_rules($come_html, \%html_rules);