Also share SWASHGET in perls < 5.10, before it was translated from perl to C
Rafael Garcia-Suarez [Wed, 24 Feb 2010 14:38:10 +0000 (15:38 +0100)]
dist/Safe/Safe.pm

index 70f0d2d..06d369b 100644 (file)
@@ -83,7 +83,9 @@ my $default_share = [qw[
     $version::STRICT
     $version::LAX
     @version::ISA
-], ($] >= 5.008001 && qw[
+], ($] < 5.010 && qw[
+    &utf8::SWASHGET
+]), ($] >= 5.008001 && qw[
     &Regexp::DESTROY
 ]), ($] >= 5.010 && qw[
     &re::is_regexp