In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/f418c24b737e5c62acfa6b8ad9aa30596b3a6bbe?hp=1ad4777f04af2c32dfb287fda54b71cff65e12de>
- Log ----------------------------------------------------------------- commit f418c24b737e5c62acfa6b8ad9aa30596b3a6bbe Author: Todd Rinaldo <[email protected]> Date: Tue May 23 09:48:00 2017 -0500 Remove the leading dot in the file name from the do example so it does not confuse readers ----------------------------------------------------------------------- Summary of changes: pod/perldelta.pod | 6 +++--- 1 file 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 -- Perl5 Master Repository
