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?
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>) { ... } [download]