Subject: | wrong return or precedence |
Git-CPAN-Patch-1.2.0.tar.gz:Git-CPAN-Patch-1.2.0/lib/Git/CPAN/Patch/Release.pm
contains:
return $archive->extract_path or die "extraction failed\n";
please change it to:
return $archive->extract_path || die "extraction failed\n";
See also https://github.com/schwern/test-more/pull/385
perl parses "return $a or $b" effectively as "return $a;", which is
not what was intended.
--
Reini Urban