From: Rafael Garcia-Suarez Date: Wed, 4 Mar 2009 18:40:59 +0000 (+0100) Subject: Document that when() treats specially most of the filetest operators X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=516817b472596874d742c6c23b89574daf5bfa6f;p=p5sagit%2Fp5-mst-13.2.git Document that when() treats specially most of the filetest operators --- diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index 83ad2c2..56b65d5 100644 --- a/pod/perlsyn.pod +++ b/pod/perlsyn.pod @@ -583,6 +583,11 @@ C, C, or C a negated expression C or C, or a logical exclusive-or C<(...) xor (...)>. +=item * + +a filetest operator, with the exception of C<-s>, C<-M>, C<-A>, and C<-C>, +that return numerical values, not boolean ones. + =back In those cases the value of EXPR is used directly as a boolean.