Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 ( #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
Node Status?
node history
Node Type: note [id://628857]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2014-07-28 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (195 votes), past polls