Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Uncompress Gzip File From WWW::Mechanize

by jasonk (Parson)
on Apr 10, 2009 at 00:29 UTC ( #756728=note: print w/ replies, xml ) Need Help??


in reply to Uncompress Gzip File From WWW::Mechanize

Compress::Zlib makes it easy to do in-memory decompression:

use Compress::Zlib qw( uncompress ); my $data = uncompress( $mech->content ) or die "Error decompressing content" my @file = split( "\n", $data );

www.jasonkohles.com
We're not surrounded, we're in a target-rich environment!


Comment on Re: Uncompress Gzip File From WWW::Mechanize
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://756728]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2015-07-04 17:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls