Skip Menu |

This queue is for tickets about the Object-InsideOut CPAN distribution.

Report information
The Basics
Id: 128342
Status: patched
Priority: 0/
Queue: Object-InsideOut

People
Owner: jdhedden [...] cpan.org
Requestors: jmerchant [...] protonmail.ch
Cc:
AdminCc:

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



Subject: typo in :Replicate example
Date: Thu, 24 Jan 2019 02:29:18 +0000
To: "bug-Object-InsideOut [...] rt.cpan.org" <bug-Object-InsideOut [...] rt.cpan.org>
From: "John M. Merchant" <jmerchant [...] protonmail.ch>
Hello, I found a small typo in documentation related to the :Replicate subroutine tag in Object::InsideOut 4.05. The example under Object Replication is currently like so: sub _replicate :Replicate { my ($parent, $clone, $flag) = @_; # Special object replication processing if ($clone eq 'CLONE') { # Handling for thread cloning ... } elsif ($clone eq 'deep') { # Deep copy of the parent ... } else { # Shallow copying ... } } From the surrounding docs it appears that $flag should be tested here against 'CLONE', 'deep', and so on instead of $clone. Let me also say that I've been using Object::InsideOut for over a decade now and I definitely appreciate your work here! Best, -John M. Merchant
On 2019-01-23 21:36:13, jmerchant@protonmail.ch wrote: Show quoted text
> I found a small typo in documentation related to the :Replicate > subroutine tag in Object::InsideOut 4.05. > From the surrounding docs it appears that $flag should be tested here > against 'CLONE', 'deep', and so on instead of $clone.
You are correct. Thanks for this catch. I've updated the docs in the repository, and the change will go out the next time I do a release (whenever that may be). Show quoted text
> Let me also say that I've been using Object::InsideOut for over a > decade now and I definitely appreciate your work here!
It's gratifying to know that OIO is standing up to the test of time.