bdy wrote:
>
> Does anyone know if there's a way to use an HTML stripper in Perl to
> scrub the HTML from all files in a specified directory? If so, would
> you point me in the correct direction.

I would recommend something like

  use HTML::TreeBuilder;

  my $tree = HTML::TreeBuilder->new_from_content($html);
  print $tree->as_text;

but the details depend on your application.

HTH,

Rob

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to