Add &version::vxs::VCMP to Safe's default share
authorRafael Garcia-Suarez <rgs@consttype.org>
Sun, 31 Oct 2010 13:08:53 +0000 (14:08 +0100)
committerRafael Garcia-Suarez <rgs@consttype.org>
Sun, 31 Oct 2010 13:17:35 +0000 (14:17 +0100)
This is to accomodate this new function in version.pm 0.85.

dist/Safe/Safe.pm

index 5d40528..2358090 100644 (file)
@@ -134,6 +134,7 @@ my $default_share = [qw[
     &version::vxs::stringify
     &version::vxs::new
     &version::vxs::parse
+    &version::vxs::VCMP
 ]), ($] >= 5.011 && qw[
     &re::regexp_pattern
 ])];