This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Safe.pm: document rdo()'s usage of @INC
authorDavid Mitchell <davem@iabyn.com>
Fri, 7 Apr 2017 11:51:19 +0000 (12:51 +0100)
committerDavid Mitchell <davem@iabyn.com>
Fri, 7 Apr 2017 13:42:24 +0000 (14:42 +0100)
dist/Safe/Safe.pm

index d78fcc5..1ee3ea8 100644 (file)
@@ -3,7 +3,7 @@ package Safe;
 use 5.003_11;
 use Scalar::Util qw(reftype refaddr);
 
-$Safe::VERSION = "2.39";
+$Safe::VERSION = "2.40";
 
 # *** Don't declare any lexicals above this point ***
 #
@@ -717,6 +717,9 @@ called from a compartment but not compiled within it.
 =head2 rdo (FILENAME)
 
 This evaluates the contents of file FILENAME inside the compartment.
+It uses the same rules a perl's build-in C<do> to locate the file,
+poossiblly using C<@INC>.
+
 See above documentation on the B<reval> method for further details.
 
 =head2 root (NAMESPACE)