From: Rafael Garcia-Suarez Date: Tue, 5 Feb 2008 11:06:11 +0000 (+0000) Subject: Fix CPAN bug #32896: make version.pm loadable in a Safe compartment X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1c92ff99e7dfbea7d6a8aebe7194d6251fb1b810;p=p5sagit%2Fp5-mst-13.2.git Fix CPAN bug #32896: make version.pm loadable in a Safe compartment p4raw-id: //depot/perl@33236 --- diff --git a/ext/Opcode/Safe.pm b/ext/Opcode/Safe.pm index 2628d74..5ee1f92 100644 --- 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