summaryrefslogtreecommitdiff
path: root/ext/threads
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-07-09 21:35:33 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-07-09 21:35:33 +0000
commit86c43dd63e0dc780f3f954e6c43e51a7a748e5a7 (patch)
treebea9c28c5ff64ea7f5a1bd49885c0b76aee02e7c /ext/threads
parent421bf9fa5745dcd17580ed75b7e41efc5f769a2d (diff)
downloadperl-86c43dd63e0dc780f3f954e6c43e51a7a748e5a7.tar.gz
Detypo.
p4raw-id: //depot/perl@17456
Diffstat (limited to 'ext/threads')
-rw-r--r--ext/threads/shared/shared.pm10
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/threads/shared/shared.pm b/ext/threads/shared/shared.pm
index d7d67deda8..d7fe1dcea0 100644
--- a/ext/threads/shared/shared.pm
+++ b/ext/threads/shared/shared.pm
@@ -80,8 +80,9 @@ C<share>, C<lock>, C<cond_wait>, C<cond_signal>, C<cond_broadcast>
=item share VARIABLE
-C<share> takes a value and marks it as shared. You can share a scalar, array,
-hash, scalar ref, array ref or hash ref. C<share> will return the shared value.
+C<share> takes a value and marks it as shared. You can share a scalar,
+array, hash, scalar ref, array ref or hash ref. C<share> will return
+the shared rvalue.
C<share> will traverse up references exactly I<one> level.
C<share(\$a)> is equivalent to C<share($a)>, while C<share(\\$a)> is not.
@@ -89,8 +90,9 @@ C<share(\$a)> is equivalent to C<share($a)>, while C<share(\\$a)> is not.
A variable can also be marked as shared at compile time by using the
C<shared> attribute: C<my $var : shared>.
-If you want to share a newly created reference, unfourtunetly you need to use
-C<&share([])> and C<&share({})> syntax due to problems with perls prototyping.
+If you want to share a newly created reference unfortunately you
+need to use C<&share([])> and C<&share({})> syntax due to problems
+with Perl's prototyping.
=item lock VARIABLE