Results 1 to 3 of 3
  1. #1
    Join Date
    May 2004
    Posts
    28

    Unanswered: Perl and zip files

    Is there a way to have Perl zip up files within a script? For example. I have a script that generates 5 txt files in a directory and I would like Perl to zip them up in one file.

  2. #2
    Join Date
    Jun 2004
    Location
    Nowhere Near You
    Posts
    89
    Have you had a look at Compress::Zlib?

    Under Windows, it's part of Perl 5.6 build 6.22. Perhaps it will do what you want.

  3. #3
    Join Date
    Jan 2004
    Location
    Germany
    Posts
    167
    I would would recommend the module Archive::Zip http://search.cpan.org/~nedkonz/Archive-Zip-1.12/
    board.perl-community.de - The German Perl-Community

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •