diff --git a/Changes b/Changes index 98c6038..2237300 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Revision history for Module-Metadata {{$NEXT}} + - Clarify that __clean_eval does not include strict or warnings 1.000037 2019-09-07 18:32:44Z - add decode_pod option for automatic =encoding handling diff --git a/lib/Module/Metadata.pm b/lib/Module/Metadata.pm index 50fca17..86c7558 100644 --- a/lib/Module/Metadata.pm +++ b/lib/Module/Metadata.pm @@ -10,7 +10,7 @@ package Module::Metadata; # perl modules (assuming this may be expanded in the distant # parrot future to look at other types of modules). -sub __clean_eval { eval $_[0] } +sub __clean_eval { no strict; no warnings; eval $_[0] } use strict; use warnings;