Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Extracting a GZIP File

by giulienk (Curate)
on May 18, 2002 at 23:38 UTC ( #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


Comment on Re: Extracting a GZIP File
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-12-28 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (179 votes), past polls