here is one way using WWW:Mechanize:
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 |