On Sun, Apr 15, 2012 at 4:25 AM, Meir Guttman <m...@guttman.co.il> wrote:
> print $response->decoded_content, "\n"; > > On the other hand, another variation of the 'get' method can save a > response to a file, as in: > > $ua->get($url, ':content_file' => $filename); > > But I couldn't find a way to first deflate the contents that is > saved to file. > > Can someone point me to the right part of the LWP package? > Is there a reason you can't print the decoded content? print $fh $res->decoded_content; -- Bill Moseley mose...@hank.org