dduncan has asked for the wisdom of the Perl Monks concerning the following question:
require HTML::TreeBuilder; $tree = HTML::TreeBuilder->new->parse_file("test.htm"); require HTML::FormatText; $formatter = HTML::FormatText->new(leftmargin => 0, rightmargin => 50); open FH, ">test.htm" or die $1; print $formatter->format($tree); close FH or die $1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HMTL Parser Problem
by ColtsFoot (Chaplain) on Aug 07, 2000 at 18:57 UTC | |
|
Re: HMTL Parser Problem
by eduardo (Curate) on Aug 07, 2000 at 18:54 UTC |