Help for this page

Select Code to Download


  1. or download this
    #Updated Script 
    local $\ = "\n";
    use Archive::Zip qw( :ERROR_CODES :CONSTANTS );
    ...
    die 'write error' unless $zip->writeToFileNamed( 'Test.zip' ) == AZ_OK
    +;
    
    print "File Archive Competed";