Don't ask to ask, just ask | |
PerlMonks |
Re: $zip->addFile not working.by tadamec (Beadle) |
on Jun 04, 2004 at 22:53 UTC ( [id://361251]=note: print w/replies, xml ) | Need Help?? |
It looks like $zip isn't being created. Try changing: my $zip = Archive::Zip->new();to:
That should provide an error message if Archive::Zip is running into problems. Update: $! is the os_error flag. My bad. Changed to eval{} as suggested by jZed.
In Section
Seekers of Perl Wisdom
|
|