From: Graham Knop Date: Sun, 28 Jan 2018 15:07:15 +0000 (+0100) Subject: don't pass author if not set X-Git-Tag: v0.003000~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d0f7a4290a2794eaf6364baba054fac6384ccdba;hp=42d0b436ab7761b08f91bd8614a315c0c2a9c285;p=p5sagit%2FDistar.git don't pass author if not set --- diff --git a/lib/Distar.pm b/lib/Distar.pm index 3e9d6b6..e8efb8a 100644 --- a/lib/Distar.pm +++ b/lib/Distar.pm @@ -85,7 +85,9 @@ sub write_manifest_skip { return $class->SUPER::new({ LICENSE => 'perl_5', MIN_PERL_VERSION => '5.006', - AUTHOR => ($MM_VER >= 6.5702 ? $Distar::Author : join(', ', @$Distar::Author)), + ($Distar::AUTHOR ? ( + AUTHOR => ($MM_VER >= 6.5702 ? $Distar::Author : join(', ', @$Distar::Author)), + ) : ()), (exists $args->{ABSTRACT} ? () : (ABSTRACT_FROM => $args->{VERSION_FROM})), %$args, test => \%test,