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

Re: Extracting a GZIP File

by giulienk (Curate)
on May 18, 2002 at 23:38 UTC ( [id://167577]=note: print w/replies, xml ) Need Help??


in reply to Extracting a GZIP File

If you got access to gunzip on the server you could do something like
my $file = 'foo.bar'; #PLEASE Taint Check this if it comes from outsid +e my $contents = `gunzip -c $file`;
Otherwise if it's available Compress::Zlib you could take a look at the gzopen function.


$|=$_="1g2i1u1l2i4e2n0k",map{print"\7",chop;select$,,$,,$,,$_/7}m{..}g

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-19 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found