Skip to content

Commit

Permalink
Fix P::C violations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Ryan Thalhammer committed Nov 23, 2011
1 parent 9625a19 commit a3dd4f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Package/Locator/Index.pm
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ sub lookup_package {

my $found;
try { $found = $self->_index->package($package_name) }
catch { croak $_ unless m/Package $package_name does not exist/ };
catch { croak $_ unless m/Package $package_name does not exist/ }; ## no critic qw(RequireExtendedFormatting)

return $found ? $found : ();
}
Expand Down

0 comments on commit a3dd4f2

Please sign in to comment.