From: Matt S Trout Date: Thu, 27 Aug 2020 15:01:59 +0000 (+0000) Subject: make functions return 1 to avoid borkage on do X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=adc721c184ecfb3f91e5dfb73079c525f7277ebb;p=p5sagit%2FDistar.git make functions return 1 to avoid borkage on do --- diff --git a/lib/Distar.pm b/lib/Distar.pm index a171b6c..e048045 100644 --- a/lib/Distar.pm +++ b/lib/Distar.pm @@ -30,6 +30,7 @@ sub author { our $Author = shift; $Author = [ $Author ] if !ref $Author; + 1; } our @Manifest = ( @@ -46,6 +47,7 @@ our @Manifest = ( sub manifest_include { push @Manifest, @_; + 1; } sub readme_generator {