in reply to Zip/compress files and directories

Have you tried PerlIO::gzip.

Sathiyamoorthy