There are two easier ways than using LWP::UserAgent if all you want to do is to download a file via HTTP:
system(qw( wget -O ), $target_name, $url) == 0 or warn "Couldn't download '$url': $?/$!";
mirror( $url, $target_name );
In reply to Re: Get a file with HTTP
by Corion
in thread Get a file with HTTP
by PugSA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |