Skip to content

Commit 21d7493

Browse files
committed
Fix Module::Metadata logic for determining the value of VERSION under strict
See also Perl-Toolchain-Gang/Module-Metadata#35
1 parent 2751669 commit 21d7493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpan/Module-Metadata/lib/Module/Metadata.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ package Module::Metadata; # git description: v1.000036-4-g435a294use v5;
1010
# perl modules (assuming this may be expanded in the distant
1111
# parrot future to look at other types of modules).
1212

13-
sub __clean_eval { eval $_[0] }
13+
sub __clean_eval { no strict; no warnings; eval $_[0] }
1414
use strict;
1515
use warnings;
1616

0 commit comments

Comments
 (0)