Skip to content

Commit

Permalink
fix warning: check file for name value in pod method
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyn committed Aug 6, 2016
1 parent 396a84e commit 8afc83e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/MetaCPAN/Client/File.pm
Expand Up @@ -65,6 +65,7 @@ sub pod {
or croak "wrong content-type for POD requested";

my $name = $self->module->[0]{name};
return unless $name;

require MetaCPAN::Client::Request;

Expand Down

0 comments on commit 8afc83e

Please sign in to comment.