In perl.git, the branch dom/dot-in-inc-doc has been updated <http://perl5.git.perl.org/perl.git/commitdiff/40c92e53847216ada6cd1367bf16899f2c311cf5?hp=8e2f9f81800071eab80b50b23f30af5b6dd6c7e2>
discards 8e2f9f81800071eab80b50b23f30af5b6dd6c7e2 (commit) - Log ----------------------------------------------------------------- commit 40c92e53847216ada6cd1367bf16899f2c311cf5 Author: Dominic Hargreaves <[email protected]> Date: Tue Feb 21 20:30:38 2017 +0000 Documentation fixes for '.' possibly no longer being in @INC ----------------------------------------------------------------------- Summary of changes: pod/perlfunc.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index f72267b1ea..88d30a55fd 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -1820,13 +1820,13 @@ scope; C<eval STRING> does. It's the same, however, in that it does reparse the file every time you call it, so you probably don't want to do this inside a loop. -Using C<do> with no leading path, as in +Using C<do> with no path, like do 'stat.pl'; will search the L<C<@INC>|perlvar/@INC> directories, and update L<C<%INC>|perlvar/%INC> if the file is found. See L<perlvar/@INC> -and L<perlvar/%INC> for these variables (in particular, note that +and L<perlvar/%INC> for these variables. In particular, note that whilst historically L<C<@INC>|perlvar/@INC> contained '.' (the current directory) making these two cases equivalent, that is no longer necessarily the case, as there is now a compile-time option -- Perl5 Master Repository
