projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
519bf2a
)
Fix CPAN bug #32896: make version.pm loadable in a Safe compartment
Rafael Garcia-Suarez [Tue, 5 Feb 2008 11:06:11 +0000 (11:06 +0000)]
p4raw-id: //depot/perl@33236
ext/Opcode/Safe.pm
patch
|
blob
|
blame
|
history
diff --git
a/ext/Opcode/Safe.pm
b/ext/Opcode/Safe.pm
index
2628d74
..
5ee1f92
100644
(file)
--- a/
ext/Opcode/Safe.pm
+++ b/
ext/Opcode/Safe.pm
@@
-58,6
+58,8
@@
my $default_share = [qw[
&utf8::downgrade
&utf8::native_to_unicode
&utf8::unicode_to_native
+ $version::VERSION
+ $version::CLASS
], ($] >= 5.010 && qw[
&re::is_regexp
&re::regname