Subject: | Undeclared dependencies somewhere; s/croak/confess/ ? |
Robert,
I was grepping through the cpantesters reports for
CatalystX-InjectComponent-0.022. I found
Can't locate Catalyst/Model.pm... # called from parent.pm
Can't locate Class/MOP.pm........ # called from Moose/Exporter.pm
which normally means that you have not declared them as dependency
although there is some. But it's a bit harder than usual to prove who is
to blame. Given that the caller in both cases is not InjectComponenet
itself I wonder if the use of croak() in InjectComponent should be
replaced with a confess()?
Maybe this is overkill but it is certainly suspicious that a CatalystX
package is not dependent on Catalyst::Runtime or something else in the
Catalyst namespace, isn't it?
HTH && Regards,