Item2263: extender.pl - Archive::Tar not found
Priority: Normal
Current State: Closed
Released In: 1.0.8
Target Release: patch
Applies To: Engine
Component:
Branches:
The fix to
Item1782 is not correct.
The code tests the result of eval "require [some module]". It then tests $@ to see if the require works, Perl documentation states for eval that
If there was no error, $@ is guaranteed to be a null string. Null is false, so this test is incorrect. However on most platforms,
tar
or
unzip
are available, masking the failure.
eval 'require Archive::Zip';
if ($@) {
my $zip = Archive::Zip->new();
...
eval 'require Archive::Tar';
if ($@) {
my $tar = Archive::Tar->new();
...
--
GeorgeClark
This seems fixed.
Setting to Waiting for Release
--
KennethLavrsen - 17 Oct 2009