From 11b65d111fc28fc11dafb27a004b8a59b3f8ab42 Mon Sep 17 00:00:00 2001 From: Todd Rinaldo Date: Wed, 19 Aug 2020 12:43:53 -0500 Subject: [PATCH] Clarify that __clean_eval does not use strict or warnings. --- Changes | 1 + lib/Module/Metadata.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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;