[svn:perlfaq] r10051 - perlfaq/trunk
[email protected] Thu, 4 Oct 2007 07:07:10 -0700 (PDT)
| Newsgroups | perl.cvs.perlfaq |
|---|---|
| Message-ID | <[email protected]> |
Author: rafael Date: Thu Oct 4 07:07:09 2007 New Revision: 10051 Modified: perlfaq/trunk/perlfaq5.pod Log: More typo fixes Modified: perlfaq/trunk/perlfaq5.pod ============================================================================== --- perlfaq/trunk/perlfaq5.pod (original) +++ perlfaq/trunk/perlfaq5.pod Thu Oct 4 07:07:09 2007 @@ -690,7 +690,7 @@ Unless you have a particular reason to use the two argument form you should use the three argument form of open() which does not treat any -charcters in the filename as special. +characters in the filename as special. open FILE, "<", " file "; # filename is " file " open FILE, ">", ">file"; # filename is ">file" @@ -777,7 +777,7 @@ except that lamentably, file creation (and deletion) is not atomic over NFS, so this won't work (at least, not every time) over the net. Various schemes involving link() have been suggested, but -these tend to involve busy-wait, which is also subdesirable. +these tend to involve busy-wait, which is also less than desirable. =head2 I still don't get locking. I just want to increment the number in the file. How can I do this? X<counter> X<file, counter>