Skip Menu |
 

This queue is for tickets about the threads-shared CPAN distribution.

Report information
The Basics
Id: 41215
Status: resolved
Priority: 0/
Queue: threads-shared

People
Owner: Nobody in particular
Requestors: SMPETERS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.27



Subject: Doc nit in shared.pm
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 540
Download (untitled) / with headers
text/plain 540b
Unless I'm mistaken, the following patch fixes a minor doc not. ==== //depot/perl/ext/threads/shared/shared.pm#65 - /home/steve/p4- bleadperl/perl/ext/threads/shared/shared.pm ==== @@ -308,8 +308,8 @@ For cloning empty array or hash refs, the following may also be used: - $var = &share([]); # Same as $var = share_clone([]); - $var = &share({}); # Same as $var = share_clone({}); + $var = &share([]); # Same as $var = shared_clone([]); + $var = &share({}); # Same as $var = shared_clone({}); =item is_shared VARIABLE
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-24163-1227792939-929.41215-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 267
Download (untitled) / with headers
text/plain 267b
Show quoted text
> - $var = &share([]); # Same as $var = share_clone([]); > - $var = &share({}); # Same as $var = share_clone({}); > + $var = &share([]); # Same as $var = shared_clone([]); > + $var = &share({}); # Same as $var = shared_clone({});
Fixed in v1.27. Thanks.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.