Skip Menu |

This queue is for tickets about the CatalystX-InjectComponent CPAN distribution.

Report information
The Basics
Id: 50389
Status: resolved
Priority: 0/
Queue: CatalystX-InjectComponent

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

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



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,
On Sun Oct 11 06:15:30 2009, ANDK wrote: Show quoted text
> 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,
Thanks for the note. I made 0.023 dependent on Catalyst::Runtime and that seems to have fixed the problem rob