From: Graham Knop Date: Tue, 23 Aug 2016 09:34:39 +0000 (-0400) Subject: skip ABSTRACT_FROM if ABSTRACT given X-Git-Tag: v0.003000~28 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1f136c70bd7d33c3afc60f594e7bf3f5c8167c0a;p=p5sagit%2FDistar.git skip ABSTRACT_FROM if ABSTRACT given --- diff --git a/lib/Distar.pm b/lib/Distar.pm index 9845bd9..c0950ca 100644 --- a/lib/Distar.pm +++ b/lib/Distar.pm @@ -81,7 +81,7 @@ sub write_manifest_skip { LICENSE => 'perl_5', MIN_PERL_VERSION => '5.006', AUTHOR => ($MM_VER >= 6.5702 ? $Distar::Author : join(', ', @$Distar::Author)), - ABSTRACT_FROM => $args->{VERSION_FROM}, + (exists $args->{ABSTRACT} ? () : (ABSTRACT_FROM => $args->{VERSION_FROM})), %$args, test => { TESTS => ($args->{test}{TESTS}||'t/*.t').' xt/*.t xt/*/*.t' }, realclean => { FILES => (