Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Archive/Zip "desiredCompressionLevel" on an undefined value

5 views
Skip to first unread message

jupiter

unread,
Nov 14, 2014, 12:15:02 AM11/14/14
to cpan-d...@perl.org
Hi,

I have just installed Archive::Zip version 1.39 to a CentOS 6 box., I've got following error while I am compiling the open office source code:

Can't call method "desiredCompressionLevel" on an undefined value at /usr/local/share/perl5/Archive/Zip/Archive.pm line 257.

I printed out the $compressionLevel, it was an empty string "".

Is there any workaround to make it work? I tried to assign a COMPRESSION_LEVEL_NONE to the $compressionLevel if it is an empty string, but it got the sample undefined value error.

Thank you.

- j
0 new messages