This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlfunc/lock() nits by Philip Newton and Johan Vromans.
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 4 Jun 2002 20:30:00 +0000 (20:30 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 4 Jun 2002 20:30:00 +0000 (20:30 +0000)
p4raw-id: //depot/perl@16985

pod/perlfunc.pod

index 49fa800..7d3bc1f 100644 (file)
@@ -2473,10 +2473,10 @@ This function places an advisory lock on a variable, subroutine,
 or referenced object contained in I<THING> until the lock goes out
 of scope.
 
-lock() is a "weak keyword" : that means that if you've defined a
-function by this name, this function will be called instead.
-(However, if you've said C<use Thread>, lock() is always a keyword.)
-See L<Thread>.
+lock() is a "weak keyword" : this means that if you've defined a function
+by this name, (before any calls to it), that function will be called
+instead. (However, if you've said C<use Thread>, lock() is always a
+keyword.) See L<Thread>.
 
 =item log EXPR