Hi,
I am able to extract the content from Archive zip using Archive::Zip. After extraction, trying to check file existance as shown below code. It's perfectly working in Windows.But in UNIX env, file exists check failing. Not sure what could be the issue in UNIX env. Please suggest me if you have any clue on the issue.
my $srcZip = Archive::Zip->new();
my $status = $srcZip->read($archivePath);
my
@members = $srcZip->members;
foreach my $member (
@members) {
my $filename = $member->fileName;
$logger->info("filename$filename\n\n");
if (-e $filename && $filename !~ /\/$/){
Do some thing;
}
}
Thanks in advance,
MSR.