diff options
author | Rafael Garcia-Suarez <rgs@consttype.org> | 2010-02-22 23:09:42 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgs@consttype.org> | 2010-02-22 23:09:42 +0100 |
commit | 404e3cecaf943f355728143a462cdf822a1d13f3 (patch) | |
tree | 6b8730ccf22f4a82cc20ea0f31f8e6fe89a87dcf /dist | |
parent | 900665121b5ecaf606b6bb2bcf350d7f2af158ee (diff) | |
download | perl-404e3cecaf943f355728143a462cdf822a1d13f3.tar.gz |
Add some symbols from version::vxs to the default share
It appears that the core version.pm works with Safe, but that the
CPAN-upgraded version does not. This will need more investigation
and test coverage, but for now, share the minimal set of symbols
needed to load version.pm in a Safe compartment. This covers
only the XS version of version.pm, not the pure perl alternative.
Diffstat (limited to 'dist')
-rw-r--r-- | dist/Safe/Safe.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dist/Safe/Safe.pm b/dist/Safe/Safe.pm index 8af43102b1..3eac5d0d5a 100644 --- a/dist/Safe/Safe.pm +++ b/dist/Safe/Safe.pm @@ -116,6 +116,9 @@ my $default_share = [qw[ &version::noop &version::is_alpha &version::qv + &version::vxs::declare + &version::vxs::qv + &version::vxs::_VERSION ]), ($] >= 5.011 && qw[ &re::regexp_pattern ])]; |