projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
519bf2a
)
Fix CPAN bug #32896: make version.pm loadable in a Safe compartment
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Tue, 5 Feb 2008 11:06:11 +0000
(11:06 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Tue, 5 Feb 2008 11:06:11 +0000
(11:06 +0000)
p4raw-id: //depot/perl@33236
ext/Opcode/Safe.pm
patch
|
blob
|
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