Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Is there a limit of files I can decompress and then open in a script, if I close each one before openning other?

by djp (Hermit)
on Jul 26, 2007 at 03:33 UTC ( [id://628857]=note: print w/replies, xml ) Need Help??


in reply to Is there a limit of files I can decompress and then open in a script, if I close each one before openning other?

Recommend PerlIO::gzip for reading gzipped files, e.g.
use strict; use warnings; use IO::File; use PerlIO::gzip; my $ifh = IO::File->new( $ifile, '<:gzip' ) or die "Cannot open $ifile: $!\n"; while (<$ifh>) { ... }
  • Comment on Re: Is there a limit of files I can decompress and then open in a script, if I close each one before openning other?
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-24 02:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found