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.