Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla CPAN distribution.

Report information
The Basics
Id: 56037
Status: rejected
Priority: 0/
Queue: Dist-Zilla

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

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



Subject: Autoprereq fails on C<< use Any::Moose 'X::Types::'.any_moose() >> and other Any::Moose-isms
Stuff like this: use Any::Moose 'X::Types::'.any_moose(); with any_moose('X::Getopt::Dashes') Won't resolve to MouseX::Types::Mouse and MouseX::Getopt::Dashes, or the equivalent Moose class. Since it could also resolve to the MooseX:: classes it's pretty much impossible for Zilla to handle this case. It would be nice if it matched: use Any::Moose '.*?'(?: \. any_moose() )? with any_moose(.*?); And issued a warning about being unable to find dependencies in this case.
I suggest writing a plugin for Perl::PrereqScanner. -- rjbs