in reply to Can I use Archive::Zip to create a self-extracting exe for Windows?

yes, I just did it this week for one of my win32 backups, almost directly from the perldoc:
use Archive::Zip qw( :ERROR_CODES :CONSTANTS ); my $zip = Archive::Zip->new(); $member = $zip->addFile( 'xyz.pl'); die 'write error' unless $zip->writeToFileNamed( 'someZip.zip' ) == + AZ_OK;
  • Comment on Re: Can I use Archive::Zip to create a self-extracting exe for Windows?
  • Download Code