in reply to Disable LWP::Simple's autodeflating?
Three possibilities:
perl -MLWP::Simple -e'getstore("file:/cpan/authors/id/P/PM/PMQS/Compre +ss-Raw-Zlib-2.060.tar.gz", "Compress-Raw-Zlib-2.060.tar.gz" )'
sub getRaw ($) { my $response = $ua->get(shift); ## return $response->decoded_content if $response->is_success; return $response->content if $response->is_success; return undef; }
lwp-download file:/cpan/authors/id/P/PM/PMQS/Compress-Raw-Zlib-2.060.t +ar.gz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Disable LWP::Simple's autodeflating?
by Anonymous Monk on Jan 31, 2013 at 09:10 UTC |