Skip Menu |
 

This queue is for tickets about the MooseX-Declare CPAN distribution.

Report information
The Basics
Id: 84469
Status: open
Priority: 0/
Queue: MooseX-Declare

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

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

Attachments


Subject: Namespace collision between method and module/class
Download (untitled) / with headers
text/plain 311b
A class Foo::Bar having a method/property "Baz" clashes with a class Foo::Bar::Baz if the second one is loaded before the first one. Run moose.pl from the attached file to see the problem or look here for a detailed description: http://www.pal-blog.de/entwicklung/perl/moose/2013/moose-namespace-collision.html
Subject: moose_bug_demonstration.zip

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 348b
The code in your example has a lot of problems. The zipball doesn't include the .pm files. Those .pm files load a Method::Signature::Modifiers module which doesn't seem to exist. The Project.pm file needs to load Data::Dumper. Having fixed that, I think the problem has nothing to do with Moose, exactly. This is a bug in MooseX::Declare.


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.