Skip Menu |

This queue is for tickets about the namespace-clean CPAN distribution.

Report information
The Basics
Id: 43362
Status: resolved
Priority: 0/
Queue: namespace-clean

Owner: Nobody in particular
Requestors: (no email address)

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

Subject: namespace::clean suppresses compilation errors...
Download (untitled) / with headers
text/plain 727b
I've been having a lot of problems lately with "Unknown Error" getting reported rather than the actual error message when using namespace::clean. I've managed to narrow it down to this minimal test case... (I also forked it on github and added a testcase there) package Test1; use namespace::clean; sub foo { if } # intentional syntax error 1; If you remove the call to 'use namespace::clean', this is the output (which is what I would expect) syntax error at lib/ line 2, near "if }" Compilation failed in require. BEGIN failed--compilation aborted. However, when using namespace::clean, the output becomes: Unknown error Compilation failed in require. BEGIN failed--compilation aborted. --
This is fixed in Variable::Magic 0.31, which namespace::clean 0.10 now depends on.

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

Please report any issues with to