Help for this page

Select Code to Download


  1. or download this
      my $COMMAND = "wget -q -O $FILENAME $URL";
      print `$COMMAND`;
    
  2. or download this
     open my $sh, "-|", "wget", "-q", "-O", $FILENAME, $URL;
     print <$sh>;
     close $sh;
    
  3. or download this
     use LWP::Simple;
     is_success (getprint ($URL)) or warn "Fetch failed";