Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: How to save a web page directly to plain text?

by jdporter (Chancellor)
on Mar 19, 2003 at 06:35 UTC ( #244264=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $URL = shift or die "Usage: $0 URL\n";
      use LWP::Simple;
    ...
      print HTML::TreeBuilder
      ->new_from_content( get( $URL ) or die "Error getting $URL\n" )
      ->as_trimmed_text;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://244264]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2023-09-27 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?