Author: larry Date: Thu Feb 1 13:43:24 2007 New Revision: 13562 Modified: doc/trunk/design/syn/S03.pod
Log: More tweakage. Modified: doc/trunk/design/syn/S03.pod ============================================================================== --- doc/trunk/design/syn/S03.pod (original) +++ doc/trunk/design/syn/S03.pod Thu Feb 1 13:43:24 2007 @@ -1408,7 +1408,7 @@ =item * -The filetest operators now gone. We now use a Pair as a pattern to +The filetest operators are gone. We now use a Pair as a pattern to get the same effect: if $filename ~~ :e { say "exists" } @@ -1417,7 +1417,7 @@ given $handle { when all :r :w :x {...} - when :w | :x {...} + when :!w | :!x {...} when * {...} } @@ -1428,7 +1428,8 @@ or lstat() will automatically reset the stat buffer, as will switching to a different filename or handle. -Note that C<$file ~~ :s> still returns the filesize. +Note that C<$file ~~ :s> still returns the filesize, but C<:!s> is true +only if the file is of size 0. =item *