On Oct 29, 10:57 pm, [EMAIL PROTECTED] (Rob Dixon) wrote:
> bdy wrote:
>
> > Does anyone know if there's a way to use an HTMLstripperin 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

Sorry, I should have mentioned I was an ultra-beginner. Aside from
using that in a .pl file, how else could I execute that for multiple
files in a directory?


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


Reply via email to