Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 rifling through the Monastery: (10)
As of 2014-10-22 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (119 votes), past polls