Skip to content

Commit 00ed8b7

Browse files
committed
Clarify that __clean_eval does not use strict or warnings.
1 parent e8b6e16 commit 00ed8b7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Changes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Revision history for Module-Metadata
22

33
{{$NEXT}}
4+
- Clarify that __clean_eval does not include strict or warnings
45

56
1.000037 2019-09-07 18:32:44Z
67
- add decode_pod option for automatic =encoding handling

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;
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)