hitheone has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use LWP::Simple; use HTML::Parse; $ENV{"SYSTEMROOT"} = "C:\\windows"; $html = get("http://www.google.com"); $text = parse_html($html)->format; print $text;
Janitored by holli - added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cannot retrieve HTML for some pages with LWP
by marnanel (Beadle) on May 27, 2005 at 17:05 UTC | |
by hitheone (Initiate) on May 27, 2005 at 17:20 UTC | |
by marnanel (Beadle) on May 27, 2005 at 17:28 UTC | |
|
Re: Cannot retrieve HTML for some pages with LWP
by Thelonius (Priest) on May 27, 2005 at 17:26 UTC | |
|
Re: Cannot retrieve HTML for some pages with LWP
by johnnywang (Priest) on May 27, 2005 at 17:03 UTC | |
|
Re: Cannot retrieve HTML for some pages with LWP
by djohnston (Monk) on May 27, 2005 at 17:55 UTC |