On Mon, 2008-12-22 at 13:59 -0800, bdy wrote: > On Nov 18, 9:34 am, bdy120...@gmail.com (Bdy) wrote: > > Does any one know if there is a HTML stripper module that contains an > > option to strip multiple files across multiple directories. > > > > Having a helluva time finding one and getting the strippers and > > parsers to work as I'd like them to. > > > > Thanks. > > Anyone have any suggestions for this? I have yet to find any answers > on my own. > >
Have you look at HTML::TreeBuiler from CPAN http://search.cpan.org/author/PETEK/HTML-Tree-3.23/lib/HTML/TreeBuilder.pm It contains HTML::Element which has a method as_text() which extracts the text from the element. Once you get it to work with a single file, you can use File::Find to search for files. See `perldoc File::Find` for details. -- Just my 0.00000002 million dollars worth, Shawn Believe in the Gods but row away from the rocks. -- ancient Hindu proverb -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/