It may be helpful to know that I am running this in Cygwin, and the
file cannot be found because I'm using a path that may be invalid in
Cygwin. That said, I'd expect extract to return false whenever unzip
can't find the file to extract. Maybe that expectation is wrong?
Also, my Perl is version 5.10.1
On Thu, Sep 16, 2010 at 10:58 AM, Bugs in Archive-Extract via RT
<bug-Archive-Extract@rt.cpan.org> wrote:
Show quoted text>
> Greetings,
>
> This message has been automatically generated in response to the
> creation of a trouble ticket regarding:
> "extract() returns true even in cases of error",
> a summary of which appears below.
>
> There is no need to reply to this message right now. Your ticket has been
> assigned an ID of [rt.cpan.org #61398]. Your ticket is accessible
> on the web at:
>
>
https://rt.cpan.org/Ticket/Display.html?id=61398
>
> Please include the string:
>
> [rt.cpan.org #61398]
>
> in the subject line of all future correspondence about this issue. To do so,
> you may reply to this message.
>
> Thank you,
> bug-Archive-Extract@rt.cpan.org
>
> -------------------------------------------------------------------------
> In cases where extract() cannot find the file that it is supposed to
> operate on, it still returns a true value for me. A sample error
> message (where extract still returns true) is:
>
> Unable to unzip '/home/myname/zips/remoteZip.zip': zipinfo: cannot
> find either /home/myname/zips/remoteZip.zip or
> /home/myname/zips/remoteZip.zip.zip at extracter.pm line 50
>
>