From: Matt S Trout Date: Tue, 10 Sep 2013 18:56:55 +0000 (+0000) Subject: add dummy var for the Hiding constant to avoid triggering void warnings X-Git-Tag: v1.000017~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a8a9baef3b88e0716e8fb4338df6e773b147144f;p=p5sagit%2FModule-Metadata.git add dummy var for the Hiding constant to avoid triggering void warnings --- diff --git a/lib/Module/Metadata.pm b/lib/Module/Metadata.pm index d979932..e8d6856 100644 --- a/lib/Module/Metadata.pm +++ b/lib/Module/Metadata.pm @@ -650,7 +650,7 @@ sub _evaluate_version_line { # compiletime/runtime issues with local() my $vsub; $pn++; # everybody gets their own package - my $eval = qq{BEGIN { q# Hide from _packages_inside() + my $eval = qq{BEGIN { my \$dummy = q# Hide from _packages_inside() #; package Module::Metadata::_version::p$pn; use version; no strict;