summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Rinaldo <toddr@cpan.org>2017-05-23 09:48:00 -0500
committerSawyer X <xsawyerx@cpan.org>2017-05-23 20:53:47 +0200
commitf418c24b737e5c62acfa6b8ad9aa30596b3a6bbe (patch)
tree3bb4c60bfb3d0bd2634bf95abd99bb9ff81a06f6
parent1ad4777f04af2c32dfb287fda54b71cff65e12de (diff)
downloadperl-f418c24b737e5c62acfa6b8ad9aa30596b3a6bbe.tar.gz
Remove the leading dot in the file name from the do example so it does not confuse readers
-rw-r--r--pod/perldelta.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index d39d68eb60..a6d6e6dbb0 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -254,17 +254,17 @@ untrusted directories (such as F</tmp>), then your script suddenly failing
to load files may be indicative of a security issue. You most likely want
to replace any relative paths with full paths; for example,
- do ".foo_config.pl"
+ do "foo_config.pl"
might become
- do "$ENV{HOME}/.foo_config.pl"
+ do "$ENV{HOME}/foo_config.pl"
If you are absolutely certain that you want your script to load and
execute a file from the current directory, then use a C<./> prefix; for
example:
- do "./.foo_config.pl"
+ do "./foo_config.pl"
=item * Installing and using CPAN modules