Loading ...
Sorry, an error occurred while loading the content.

Re: save contents of internet

Expand Messages
  • Damien Carbery
    ... use LWP::Simple; my $status = getstore( http://www.yahoo.com , yahoo-home.html ); print File downloaded. if is_success($status);
    Message 1 of 11 , May 15, 2007
      --- In perl-beginner@yahoogroups.com, jiqiang yao <jiqiang123@...> wrote:
      > Hi,
      > How to save the contents as html file given an
      > internet address?

      use LWP::Simple;
      my $status = getstore( 'http://www.yahoo.com', 'yahoo-home.html' );
      print "File downloaded." if is_success($status);
    Your message has been successfully submitted and would be delivered to recipients shortly.