in reply to File list from gz file without reading everything into memory
open(my $fh, '-|', tar => 'tzf', $archive) or die; chomp( my @files = <$fh> );
It'll have to uncompress the whole file, but it shouldn't keep any of it in memory
Update: Doh! I just noticed you're on Windows. By that, I presume you mean you don't have the tar tool.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File list from gz file without reading everything into memory
by drblove27 (Sexton) on Nov 18, 2009 at 21:57 UTC | |
by johngg (Canon) on Nov 18, 2009 at 22:26 UTC | |
by ikegami (Patriarch) on Nov 18, 2009 at 22:56 UTC | |
by Anonymous Monk on Nov 19, 2009 at 04:37 UTC |