From: MoshiachNow on
Hi,
My code is :

my $zip = Archive::Zip->new();
$zip->addFile("Updates.txt");
$zip->writeToFileNamed($NAME1);

However - If I'm zipping huge (20GB) database files into the zip - how
and when should I write (writeToFileNamed) this zip file?I beleive
Windows will not be able to keep this huge info in the memory...
Thanks

From: anno4000 on
MoshiachNow <lev.weissman(a)creo.com> wrote in comp.lang.perl.misc:
> Hi,
> My code is :
>
> my $zip = Archive::Zip->new();
> $zip->addFile("Updates.txt");
> $zip->writeToFileNamed($NAME1);
>
> However - If I'm zipping huge (20GB) database files into the zip - how
> and when should I write (writeToFileNamed) this zip file?I beleive
> Windows will not be able to keep this huge info in the memory...

Read the documentation of the module you are using. The section
"OBJECT MODEL" explains that the object does *not* (necessarily)
hold the data.

Anno
From: Ilya Zakharevich on
[A complimentary Cc of this posting was sent to
MoshiachNow
<lev.weissman(a)creo.com>], who wrote in article <1159964275.746749.87220(a)k70g2000cwa.googlegroups.com>:
> However - If I'm zipping huge (20GB) database files into the zip

Zip directory info has only 4byte-long integers. No go.

Hope this helps,
Ilya