Problem: A uncompression module ( IO::Uncompress::AnyUncompress ) started giving problem in my new machine. which was working fine on old server.
Solution:
Installed IO::Uncompress::Unzip qw(unzip $UnzipError) from cpan and used,
use IO::Uncompress::Unzip qw(unzip $UnzipError) ;
unzip $infileName => $outfileName or die "unzip failed: $UnzipError\n";
which worked fine.
Original machine (Server ):
Linux dev 2.6.20-16-server #2 SMP Tue Feb 12 05:48:21 UTC 2008 i686 GNU/Linux ( uname -a)
New machine (Server):
Linux datacruncher 2.6.24-16-server #1 SMP Thu Apr 10 13:58:00 UTC 2008 i686 GNU/Linux
Solution:
Installed IO::Uncompress::Unzip qw(unzip $UnzipError) from cpan and used,
use IO::Uncompress::Unzip qw(unzip $UnzipError) ;
unzip $infileName => $outfileName or die "unzip failed: $UnzipError\n";
which worked fine.
Original machine (Server ):
Linux dev 2.6.20-16-server #2 SMP Tue Feb 12 05:48:21 UTC 2008 i686 GNU/Linux ( uname -a)
New machine (Server):
Linux datacruncher 2.6.24-16-server #1 SMP Thu Apr 10 13:58:00 UTC 2008 i686 GNU/Linux
Comments