Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: perl OPEN function and zless

by legendx (Acolyte)
on Jul 15, 2011 at 15:16 UTC ( [id://914630]=note: print w/replies, xml ) Need Help??


in reply to Re: perl OPEN function and zless
in thread perl OPEN function and zless

Thanks,
I used this to get it to work:
open(FILE, '-|', "gunzip -c $filename"); while (FILE) { ..do action.. }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-18 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found