Skip Menu |

This queue is for tickets about the Clone CPAN distribution.

Report information
The Basics
Id: 57773
Status: resolved
Priority: 0/
Queue: Clone

People
Owner: Nobody in particular
Requestors: marks [...] iskoot.co.il
Cc:
AdminCc:

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



Subject: Documentation bug
Date: Sun, 23 May 2010 09:24:22 +0300
To: <bug-Clone [...] rt.cpan.org>
From: Mark Stern <marks [...] iskoot.co.il>
The documentation says: clone() takes a scalar argument and an optional parameter that can be used to limit the depth of the copy. Unfortunately, there is no documentation on the optional parameter, so it is unusable.
On Sun May 23 02:24:38 2010, marks@iskoot.co.il wrote: Show quoted text
> The documentation says: > > clone() takes a scalar argument and an optional parameter that can be > used to limit the depth of the copy. > > Unfortunately, there is no documentation on the optional parameter, so > it is unusable.
You're absolutely right. he documentation says you can use this parameter to limit the depth of the copy, but right now the extra parameter just increases the refcount when it's 0, and clones otherwise. Until we decide which is broken (the documentation or the implementation), we're removing the mention to the option parameter. Thanks for the report!