From: Rafael Garcia-Suarez Date: Thu, 10 May 2007 08:27:35 +0000 (+0000) Subject: Regarding precedence, filetest operators are the same than X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d0821a6ab8f99abe9cf8554e9f15785beaeb7bb4;p=p5sagit%2Fp5-mst-13.2.git 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 --- 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.