Skip Menu |

This queue is for tickets about the forks CPAN distribution.

Report information
The Basics
Id: 102407
Status: new
Priority: 0/
Queue: forks

Owner: RYBSKEJ [...]
Requestors: haarg [...]

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

Subject: CLONE_SKIP scanning shouldn't use ->can method
Download (untitled) / with headers
text/plain 532b
Under threads, CLONE_SKIP is called for each package to check if objects should be cloned as undef. emulates this by first calling $package->can('CLONE_SKIP') to see if the method exists. The perl internals don't use the ->can() method to check this though. If a package implements its own can method that doesn't follow expectations, the behavior of will diverge from I would recommend using UNIVERSAL::can($package, 'CLONE_SKIP') instead, as that should match the behavior that perl has for this.

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

Please report any issues with to