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.