Skip Menu |

This queue is for tickets about the Test-MockClass CPAN distribution.

Report information
The Basics
Id: 15504
Status: new
Priority: 0/
Queue: Test-MockClass

Owner: Nobody in particular
Requestors: dws [...]

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

Subject: addMethod side-effects $^W
Download (untitled) / with headers
text/plain 504b
After any direct or indirect call to Test::MockClass::addMethod, $^W is set to 0, masking later warning-meritable problems. The culprit is Hook::WrapSub::wrap_subs and Hook::WrapSub::unwrap_subs, which don't correctly localize an explicit change to $^W. I've submitted a bug against Hook::WrapSub, but it doesn't appear to be under active development. This can easily by shown by examining $^W before and after any call that invokes addMethod() --- This is perl, v5.8.5 built for i386-linux-thread-multi

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

Please report any issues with to