in reply to Reading a zipped file (win32)
Well somewhere along the line something is going to have to unzip the file but if you want to have a transparent read of the zipped file without any apparent imtermediate uncompression then you might create a PerlIO 'layer' using Archive::Zip that would allow you to do something like:
open FOO , '<:zip','zipfile.zip' || die "$!\n"; while(<FOO>) { # ... }
The module to do this doesn't exist yet but if you read the Perl IO documentation and An example implementation then it should be quite clear what you need to do.
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading a zipped file (win32)
by spikey_wan (Scribe) on Jun 29, 2004 at 13:17 UTC | |
by guha (Priest) on Jun 29, 2004 at 14:08 UTC | |
by iburrell (Chaplain) on Jun 29, 2004 at 16:34 UTC | |
by gellyfish (Monsignor) on Jun 29, 2004 at 13:57 UTC | |
by spikey_wan (Scribe) on Jun 29, 2004 at 14:49 UTC | |
by BrowserUk (Patriarch) on Jun 29, 2004 at 15:05 UTC | |
by pboin (Deacon) on Jun 29, 2004 at 13:53 UTC |