Re: Strip HTML from files in a directory

2008-11-12 Thread Chas. Owens
On Wed, Nov 12, 2008 at 15:44, Chas. Owens <[EMAIL PROTECTED]> wrote: > On Tue, Nov 11, 2008 at 17:17, bdy <[EMAIL PROTECTED]> wrote: > snip >> 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 di

Re: Strip HTML from files in a directory

2008-11-12 Thread Chas. Owens
On Tue, Nov 11, 2008 at 17:17, bdy <[EMAIL PROTECTED]> wrote: snip > 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? snip #!/usr/bin/perl use strict; use warnings; use HTML::TreeBuil

Re: Strip HTML from files in a directory

2008-11-12 Thread bdy
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 >

Re: Strip HTML from files in a directory

2008-10-29 Thread Rob Dixon
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_c

RE: Strip HTML from files in a directory

2008-10-29 Thread Stewart Anderson
> -Original Message- > From: bdy [mailto:[EMAIL PROTECTED] > Sent: 29 October 2008 15:14 > To: beginners@perl.org > Subject: Strip HTML from files in a directory > > 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 director