in reply to Getting the text of the html page
use strict; use warnings; use WWW::Mechanize; my $mech = WWW::Mechanize->new( autocheck => 1, cookie_jar => {}, ); $mech->get("http://perlmonks.org/?node_id=468232"); print $mech->content( format => "text" );
That will strip all of the markup and print a text version of the page.
hopefully I understood your question.
-Eric
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting the text of the html page
by agynr (Acolyte) on Jun 20, 2005 at 07:30 UTC | |
by ank (Scribe) on Jun 20, 2005 at 08:13 UTC | |
by agynr (Acolyte) on Jun 20, 2005 at 08:27 UTC | |
by ank (Scribe) on Jun 20, 2005 at 08:50 UTC |