This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[doc patch] ext/threads/shared/shared.pm
authorStas Bekman <stas@stason.org>
Fri, 14 Feb 2003 11:12:39 +0000 (22:12 +1100)
committerhv <hv@crypt.org>
Sat, 15 Feb 2003 06:38:15 +0000 (06:38 +0000)
Message-ID: <3E4C3477.7030306@stason.org>

p4raw-id: //depot/perl@18707

ext/threads/shared/shared.pm

index 3b41a30..c8d72e5 100644 (file)
@@ -182,10 +182,10 @@ Taking references to the elements of shared arrays and hashes does not
 autovivify the elements, and neither does slicing a shared array/hash
 over non-existent indices/keys autovivify the elements.
 
-share() allows you to C<share $hashref->{key}> without giving any error
-message.  But the C<$hashref->{key}> is B<not> shared, causing the error
+share() allows you to C<< share $hashref->{key} >> without giving any error
+message.  But the C<< $hashref->{key} >> is B<not> shared, causing the error
 "locking can only be used on shared values" to occur when you attempt to
-C<lock $hasref->{key}>.
+C<< lock $hasref->{key} >>.
 
 =head1 AUTHOR