foreach $zip_file (@zip_files){ open ZIPS, "unzip -l $zip_file|"; while(<ZIPS>){ push @text_files,$1 if /(\d+.out)$/; } foreach $text_file (@text_files){ open IN, "unzip -p $zip_file $text_file|"; my (@required_data) = process_file(\*IN); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading the Zipped Files.
by Anonymous Monk on Jun 03, 2003 at 22:31 UTC | |
|
Re: Reading the Zipped Files.
by Anonymous Monk on Jun 03, 2003 at 22:26 UTC | |
by rob_au (Abbot) on Jun 03, 2003 at 22:41 UTC | |
by Aristotle (Chancellor) on Jun 04, 2003 at 00:05 UTC | |
by Anonymous Monk on Jun 03, 2003 at 22:58 UTC | |
|
Re: Reading the Zipped Files.
by Aristotle (Chancellor) on Jun 04, 2003 at 00:17 UTC | |
by artist (Parson) on Jun 04, 2003 at 01:05 UTC | |
by jqb (Novice) on Jun 04, 2003 at 09:40 UTC |