From: Jan Dubois Date: Wed, 3 May 2006 11:18:30 +0000 (-0700) Subject: RE: [PATCH] Implement ${^WIN32_SLOPPY_STAT} X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2a8c8378d24b14408361a1ae13d89c877f0354f8;p=p5sagit%2Fp5-mst-13.2.git RE: [PATCH] Implement ${^WIN32_SLOPPY_STAT} From: "Jan Dubois" Message-ID: <013901c66edd$fb8ae750$d045a8c0@candy> p4raw-id: //depot/perl@28083 --- diff --git a/pod/perlvar.pod b/pod/perlvar.pod index e8a38cb..ac75f0c 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -1198,6 +1198,19 @@ related to the B<-w> switch.) See also L. The current set of warning checks enabled by the C pragma. See the documentation of C for more details. +=item ${^WIN32_SLOPPY_STAT} + +If this variable is set to a true value, then stat() on Windows will +not try to open the file. This means that the link count cannot be +determined and file attributes may be out of date if additional +hardlinks to the file exist. On the other hand, not opening the file +is considerably faster, especially for files on network drives. + +This variable could be set in the F file to +configure the local Perl installation to use "sloppy" stat() by +default. See L for more information about site +customization. + =item $EXECUTABLE_NAME =item $^X