Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Archive-Any CPAN distribution.

Report information
The Basics
Id: 67509
Status: resolved
Priority: 0/
Queue: Archive-Any

People
Owner: Nobody in particular
Requestors: daxim [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.0932
Fixed in: (no value)



Subject: Can't call method "extract" on an undefined value
In Archive::Any::Plugin::Tar::extract: 35: my $t = Archive::Tar->new( $file ); 36: return $t->extract; When the constructor returns undef on an unextractable archive, the next line will throw a run-time exception. The chdir from Archive::Any::Plugin::_extract called just previously will also not be reverted. You need to check for a failed constructor.