summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2017-04-07 12:51:19 +0100
committerDavid Mitchell <davem@iabyn.com>2017-04-07 14:42:24 +0100
commit75e93afae6b608208886fb603f96c3b3c4ced9bd (patch)
treeb0563ba8dc1070ad94e749313660570f7e904780
parent2e6f1ae9c4f7857e86f85fde07fe1af1254c4600 (diff)
downloadperl-75e93afae6b608208886fb603f96c3b3c4ced9bd.tar.gz
Safe.pm: document rdo()'s usage of @INC
-rw-r--r--dist/Safe/Safe.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/dist/Safe/Safe.pm b/dist/Safe/Safe.pm
index d78fcc54f6..1ee3ea8bea 100644
--- a/dist/Safe/Safe.pm
+++ b/dist/Safe/Safe.pm
@@ -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)