If I make a "simple_request" instead of a "request" can I still get the file size? Or can you only get a file size with "request"? Thanks, Ryan($ua = LWP::UserAgent->new)->timeout(20); $ua->request(HTTP::Request->new('HEAD', $url)) $size = (head $url)[1];
In reply to LWP: request vs. simple_request by rmckillen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |