http://qs1969.pair.com?node_id=752400

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
use strict; use warnings; use HTML::Parse; use HTML::FormatText; use LWP::Simple; my $url = "http://www.perlmonks.org"; my $html = get($url); defined $html or die "Can't fetch HTML from: ",$url; my $ascii = HTML::FormatText->new->format(parse_html($html)); print $ascii;
This code doesn't give me the text that I see with my browser. How do I do this? Thanks!