This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix perldiag entry for do '.' warning
authorDavid Mitchell <davem@iabyn.com>
Thu, 13 Apr 2017 09:12:31 +0000 (10:12 +0100)
committerDavid Mitchell <davem@iabyn.com>
Thu, 13 Apr 2017 09:27:33 +0000 (10:27 +0100)
Its an enabled-by-default deprecation warning

pod/perldiag.pod

index 3d911cb..730010a 100644 (file)
@@ -2063,7 +2063,7 @@ See L<perlfunc/pack>.
 
 =item do "%s" failed, '.' is no longer in @INC; did you mean do "./%s"?
 
-(W deprecated) Previously C< do "somefile"; > would search the current
+(D deprecated) Previously C< do "somefile"; > would search the current
 directory for the specified file.  Since perl v5.26.0, F<.> has been
 removed from C<@INC> by default, so this is no longer true.  To search the
 current directory (and only the current directory) you can write