[Catalyst] Plugin dependencies best practices

Eric Wright info at rapidsynergy.com
Wed Nov 26 21:45:26 GMT 2008


I wrote a plugin to add some global functionality to our apps which depends
on Catalyst::Plugin::Authorization::ACL. The problem is trying to configure
setup for this plugin. When I override setup or setup_actions the necessary
engine for ACL has not yet been loaded unless I edit the source for ACL by
moving its dispatch invocation of $app->NEXT::setup_actions(@_)  to the end
of its routine. Is there a better way to ensure that dependencies for your
plugin are in place during setup?

-Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20081126/412a3=
612/attachment.htm


More information about the Catalyst mailing list