[Catalyst] Plugin dependencies best practices
info at rapidsynergy.com
Mon Dec 1 17:12:37 GMT 2008
Ahh that is clever. Seems counterintuitive but apparently it reverses the
queue. Wish I thought of that.
Thanks Eden once again!
On Wed, Nov 26, 2008 at 6:20 PM, Eden Cardim <edencardim at gmail.com> wrote:
> On Wed, Nov 26, 2008 at 6:45 PM, Eric Wright <info at rapidsynergy.com>
> > I wrote a plugin to add some global functionality to our apps which
> > on Catalyst::Plugin::Authorization::ACL. The problem is trying to
> > setup for this plugin. When I override setup or setup_actions the
> > engine for ACL has not yet been loaded unless I edit the source for ACL
> > moving its dispatch invocation of $app->NEXT::setup_actions(@_) to the
> > of its routine. Is there a better way to ensure that dependencies for
> > plugin are in place during setup?
> Load your plugin before Auth::ACL and call $app->NEXT::setup_actions
> before everything else
> Eden Cardim Need help with your Catalyst or DBIx::Class project?
> Code Monkey http://www.shadowcat.co.uk/catalyst/
> Shadowcat Systems Ltd. Want a managed development or deployment platfor=
> http://edenc.vox.com/ http://www.shadowcat.co.uk/servers/
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> Dev site: http://dev.catalyst.perl.org/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst