From: Tomas Doran Date: Tue, 20 Jul 2010 15:04:40 +0000 (+0100) Subject: Note that plugin order is important X-Git-Tag: 1.29~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Devel.git;a=commitdiff_plain;h=e1893b6aebff268ef2e7606fdb4695d125ac1336 Note that plugin order is important --- diff --git a/Changes b/Changes index 95d1b86..23124c9 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ This file documents the revision history for Perl extension Catalyst-Devel. - - don't pollute M::I plugin detector with GetOptions symbol from + - Note that plugin order is important in the generated skeleton. + - Don't pollute M::I plugin detector with GetOptions symbol from GetOpt::Long - Fix typo in share/script/myapp_server.pl.tt (RT #58475) diff --git a/share/lib/MyApp.pm.tt b/share/lib/MyApp.pm.tt index 19f3f57..705be4e 100644 --- a/share/lib/MyApp.pm.tt +++ b/share/lib/MyApp.pm.tt @@ -4,7 +4,11 @@ use namespace::autoclean; use Catalyst::Runtime 5.80; -# Set flags and add plugins for the application +# Set flags and add plugins for the application. +# +# Note that ORDERING IS IMPORTANT here as plugins are initialized in order, +# therefore you almost certainly want to keep ConfigLoader at the head of the +# list if you're using it. # # -Debug: activates the debug mode for very useful log messages # ConfigLoader: will load the configuration from a Config::General file in the