diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-02-09 21:48:15 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-02-09 21:48:15 +0000 |
commit | fbb0b3b383a878902acf90a09bf05a52493ef56c (patch) | |
tree | 40c2bb309b99466871da1e2970df52d54f120356 /pod/perl591delta.pod | |
parent | 6c94ec8ba7f0b5a05c74409397b9f1735413262d (diff) | |
download | perl-fbb0b3b383a878902acf90a09bf05a52493ef56c.tar.gz |
Implement stacked filetest operators (-f -w -x $file).
p4raw-id: //depot/perl@22294
Diffstat (limited to 'pod/perl591delta.pod')
-rw-r--r-- | pod/perl591delta.pod | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pod/perl591delta.pod b/pod/perl591delta.pod index bf26c2bc75..564db346a7 100644 --- a/pod/perl591delta.pod +++ b/pod/perl591delta.pod @@ -57,6 +57,12 @@ L<perlform> has been improved, and miscellaneous bugs fixed. Now applying C<:unique> to lexical variables and to subroutines will result in a compilation error. +=head2 Stacked filetest operators + +As a new form of syntactic sugar, it's now possible to stack up filetest +operators. You can now write C<-f -w -x $file> in a row to mean +C<-x $file && -w _ && -f _>. See L<perlfunc/-X>. + =head1 Modules and Pragmata =over 4 |