From d0821a6ab8f99abe9cf8554e9f15785beaeb7bb4 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 10 May 2007 08:27:35 +0000 Subject: [PATCH] Regarding precedence, filetest operators are the same than unary operators, but not regarding parsing and parentheses (see toke.c). Spotted by Eirik Berg Hanssen. p4raw-id: //depot/perl@31189 --- pod/perlfunc.pod | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index d7d9044..1755bce 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -296,8 +296,7 @@ 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, and -the argument may be parenthesized like any other unary operator. The +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. -- 2.7.4