in reply to WWW::Mechanize write directly to file?
get() is a well-behaved overloaded version of the method in LWP::UserA +gent. This lets you do things like $mech->get( $url, ":content_file"=>$tempfile );
The reference to LWP::UserAgent:
$ua->get( $url , $field_name => $value, ... ) <snip> If a $filename is provided with the :content_file option, then the + response content will be saved here instead of in the response objec +t.
| XP matters not. Look at me. Judge me by my XP, do you? |
|
|---|