Skip Menu |
 

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 125340
Status: new
Priority: 0/
Queue: Moose

People
Owner: Nobody in particular
Requestors: MLFISHER [...] cpan.org
Cc:
AdminCc:

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



Subject: Moose::Role - Recursive "with" could use better error handling
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-22486-1526577936-368.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 377
Download (untitled) / with headers
text/plain 377b
If by accident you 'use' a module in a role where the module does "with 'YOURROLE'", the only complaint is that you cannot find anything from your role in a role-using module. (In my case, a logging role where I could not find the debug(), fatal(), subs.) If possible, it would be nice to actually report this misuse - it would have saved me a couple hours of debugging today.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.