develooper Front page | perl.perl5.porters | Postings from February 2003

[doc patch] ext/threads/shared/shared.pm

Thread Next
From:
Stas Bekman
Date:
February 13, 2003 16:14
Subject:
[doc patch] ext/threads/shared/shared.pm
Message ID:
3E4C3477.7030306@stason.org
a proper patch for C<< >>:

--- ext/threads/shared/shared.pm.old    2003-02-10 15:08:03.000000000 +1100
+++ ext/threads/shared/shared.pm        2003-02-11 10:24:51.000000000 +1100
@@ -182,10 +182,10 @@
   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 $hashref->{key} >>.

   =head1 AUTHOR

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About