Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 making s'mores by the fire in the courtyard of the Monastery: (13)
As of 2015-09-03 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (121 votes), past polls