In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/139c8d14c19a335098f4efa8bfff59d33c1f8ebe?hp=43ed1b742e2b7be9184e1fb35c0f68d15b87feed>
- Log ----------------------------------------------------------------- commit 139c8d14c19a335098f4efa8bfff59d33c1f8ebe Author: David Golden <[email protected]> Date: Wed Oct 2 14:03:29 2013 -0400 perlfunc.pod: clarify return value of -X [perl #120077] ----------------------------------------------------------------------- Summary of changes: pod/perlfunc.pod | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 4de31ac..80dc367 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -357,10 +357,10 @@ A file test, where X is one of the letters listed below. This unary operator takes one argument, either a filename, a filehandle, or a dirhandle, and tests the associated file to see if something is true about it. If the argument is omitted, tests C<$_>, except for C<-t>, which tests STDIN. -Unless otherwise documented, it returns C<1> for true and C<''> for false, or -the undefined value if the file doesn't exist. Despite the funny -names, precedence is the same as any other named unary operator. The -operator may be any of: +Unless otherwise documented, it returns C<1> for true and C<''> for false. +If the file doesn't exist or can't be examined, it returns C<undef> and +sets C<$!> (errno). Despite the funny names, precedence is the same as any +other named unary operator. The operator may be any of: -r File is readable by effective uid/gid. -w File is writable by effective uid/gid. -- Perl5 Master Repository
