Archive/Zip "desiredCompressionLevel" on an undefined value

[email protected] (jupiter) Fri, 14 Nov 2014 16:06:38 +1100
Newsgroups perl.cpan.discuss
Message-ID <CAA=hcWTb0vA52RgrZmz84D3h_zZPv+3Opr_tfqFtrWUmJnxotA@mail.gmail.com>
--e89a8f2352ab0509940507ca98d9
Content-Type: text/plain; charset=UTF-8

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

--e89a8f2352ab0509940507ca98d9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div>Hi,<br><br></div>I have just inst=
alled Archive::Zip version 1.39 to a CentOS 6 box., I&#39;ve got following =
error while I am compiling the open office source code:<br><br>Can&#39;t ca=
ll method &quot;desiredCompressionLevel&quot; on an undefined value at /usr=
/local/share/perl5/Archive/Zip/Archive.pm line 257.<br><br></div>I printed =
out the $compressionLevel, it was an empty string &quot;&quot;.<br><br></di=
v>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 th=
e sample undefined value error.<br><br></div>Thank you.<br><br></div>- j<br=
></div>

--e89a8f2352ab0509940507ca98d9--