summaryrefslogtreecommitdiff
path: root/lib/filetest.pm
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-11-27 12:50:08 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-11-27 12:50:08 +0000
commit9a4da9311d34e77ffdec7b888a8a3f66535ff14e (patch)
tree306e54b76281cdc1bb0f902098124fd1a52c95ed /lib/filetest.pm
parent901b18f1f40355e1c6bf8f01f58203410eb7eabb (diff)
parent80d06f2dff03a52147744439d4888c6bef091986 (diff)
downloadperl-9a4da9311d34e77ffdec7b888a8a3f66535ff14e.tar.gz
integrate cfgperl changes into mainline
p4raw-id: //depot/perl@2318
Diffstat (limited to 'lib/filetest.pm')
-rw-r--r--lib/filetest.pm13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/filetest.pm b/lib/filetest.pm
index cc14e82817..fe1777e443 100644
--- a/lib/filetest.pm
+++ b/lib/filetest.pm
@@ -16,7 +16,8 @@ filetest - Perl pragma to control the filetest permission operators
=head1 DESCRIPTION
This pragma tells the compiler to change the behaviour of the filetest
-permissions operators, the -r -w -x -R -W -X (see L<perlfunc>).
+permissions operators, the C<-r> C<-w> C<-x> C<-R> C<-W> C<-X>
+(see L<perlfunc>).
The default behaviour to use the mode bits as returned by the stat()
family of calls. This, however, may not be the right thing to do if
@@ -31,11 +32,11 @@ There may be a slight performance decrease in the filetests
when C<use filetest> is in effect, because in some systems
the extended functionality needs to be emulated.
-B<NOTE>: using the file tests is a lost case from the start: there is
-a window open for race conditions (who is to say that the permissions
-will not change between the test and the real operation?). Therefore
-if you are serious about security, just try the real operation and
-test for its success. Think atomicity.
+B<NOTE>: using the file tests for security purposes is a lost case
+from the start: there is a window open for race conditions (who is to
+say that the permissions will not change between the test and the real
+operation?). Therefore if you are serious about security, just try
+the real operation and test for its success. Think atomicity.
=head2 subpragma access