in reply to Examples of Archive::Zip
I didn't see an option to get it to just give you the zip file in a scalar or something, so you'll have to either write your own FakeFileHandleAccumulator or get one off cpan (IO::ALL looks like it might do it easily), but for just sending the output of your zip file via a cgi script, write to file handle should do what you need.my $zip = Archive::Zip->new(); $zip->addFile($file); $zip->writeToFileHandle(*STDOUT);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Examples of Archive::Zip
by Anonymous Monk on Apr 06, 2004 at 08:57 UTC |