in reply to Archive::Zip Period Problem

I think extractTree() somehow gets confused with extracting to the current directory "." and forgets to append the path separator. Try:
$zip->extractTree("", ".\\");
worked for me.

Replies are listed 'Best First'.
Re: Re: Archive::Zip Period Problem
by CodeJunkie (Monk) on Apr 03, 2003 at 13:53 UTC

    cheers mate, that fixed it!

    $zip->extractTree("", ".\\");

Re: Re: Archive::Zip Period Problem
by CodeJunkie (Monk) on Apr 03, 2003 at 16:34 UTC

    Actually that fixed it on my windows Perl, but when I put it on a remote unix/linux machine it changed all the files to

    .\file.cgi

    Which was even worse cause my ftp program couldn't see the files so I had to manually rename them using command prompt ftp... fun fun fun

      $zip->extractTree("", "./"); should work on both OSes.

      Makeshifts last the longest.