[Catalyst] Catalyst & Class::Std don't play nice?
Matt S Trout
dbix-class at trout.me.uk
Mon Dec 12 20:55:44 CET 2005
On Mon, Dec 12, 2005 at 11:01:05AM -0800, Mark Ethan Trostler wrote:
> That's great except the module I want to use was implemented using
> Class::Std & would like to integrate that module into my Catalyst
> environment ...
Class::Std sets a lot of stuff up at compile-time, whereas Catalyst loads
your components at run-time. You're going to need to load the Class::Std
class directly, probably by explicitly use-ing it in each of your scripts.
stevan's Class::C3 (used by DBIx::Class) does similar tricks but provides
Class::C3->initialize() to call it by hand if you late-load the classes.
If Damian's made any provisions for such I don't see documentation for them.
--
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Catalyst
mailing list