in reply to Zipping a file in perl

Rather than using zip's (as noted above, poor) encryption you could use something like Mail::GnuPG and gpg to encrypt the zip'd file after the fact instead.

The cake is a lie.
The cake is a lie.
The cake is a lie.