Commits

Toby Inkster committed e4b1f19

fix warning

Comments (0)

Files changed (1)

lib/P5U/Lib/Reprove.pm

 		{
 			no strict 'refs';
 			my $auth = ${$args{module}.'::AUTHORITY'};
-			if ($auth =~ /^cpan:(.+)$/)
+			if (defined $auth and $auth =~ /^cpan:(.+)$/)
 			{
 				$args{author} = $1;
 			}