Hi,
Does anyone know why Archive::Zip is giving me a successful return code, saying it has extracted the files but it hasn't?
here is my code
I've tried using just $zip->member , makes no differrence?
I get a zero returned from each extract, which is successful, but the files do not get extracted?
Any ideas?
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music Downloads
Does anyone know why Archive::Zip is giving me a successful return code, saying it has extracted the files but it hasn't?
here is my code
Code:
my $zip = Archive::Zip->new( "$upload_dir/$filename" );
my @names = $zip->memberNames;
# loop files
foreach my $name (@names) {
$zip->extractMemberWithoutPaths($name);
}
I've tried using just $zip->member , makes no differrence?
I get a zero returned from each extract, which is successful, but the files do not get extracted?
Any ideas?
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music Downloads