Subject: | can_use() does not work with Module::Install::Catalyst |
Hi!
I'm not sure it's a problem in M::I or M::I::Catalyst.
Try this Makefile.PL:
------------------------------------------------------
use inc::Module::Install;
print "can_use M::I::Catalyst: ".can_use('Module::Install::Catalyst')."\n";
print "can_use Data::Dumper: ".can_use('Data::Dumper')."\n";
------------------------------------------------------
This prints:
------------------------------------------------------
can_use M::I::Catalyst:
can_use Data::Dumper: 1
------------------------------------------------------
It should print a "1" also on M::I::Catalyst as I have
it installed and perldoc and perl -M both find it.
In the end I wanted to utilize all that indirectly
via M::I::AuthorRequires which uses M::I::can_use().
Thanks.
Steffen
--
Steffen Schwigon <ss5@renormalist.net>
Dresden Perl Mongers <http://dresden-pm.org/>