Typo fix from Boris Zentner.
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 11 Aug 2003 08:33:13 +0000 (08:33 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 11 Aug 2003 08:33:13 +0000 (08:33 +0000)
p4raw-id: //depot/perl@20611

pod/perlfaq5.pod

index 9e30b54..cad896d 100644 (file)
@@ -549,7 +549,7 @@ which must be done in one.  That's why computer hardware provides an
 atomic test-and-set instruction.   In theory, this "ought" to work:
 
     sysopen(FH, "file.lock", O_WRONLY|O_EXCL|O_CREAT)
-               or die "can't open  file.lock: $!":
+               or die "can't open  file.lock: $!";
 
 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.