X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FPlugin%2FConfigLoader.pm;h=0ba9f9915d83c4fb80cf06c6133a1e8f6964eddd;hb=d6277728a99503a632fec6c5bed6b5b23db122cc;hp=d1a51693eac772e8e9d3856d74b8721292bdf5be;hpb=2d1e1e040a8b611e62f5eda08dfec4787f458a5c;p=catagits%2FCatalyst-Plugin-ConfigLoader.git diff --git a/lib/Catalyst/Plugin/ConfigLoader.pm b/lib/Catalyst/Plugin/ConfigLoader.pm index d1a5169..0ba9f99 100644 --- a/lib/Catalyst/Plugin/ConfigLoader.pm +++ b/lib/Catalyst/Plugin/ConfigLoader.pm @@ -9,7 +9,7 @@ use Module::Pluggable::Fast search => [ __PACKAGE__ ], require => 1; -our $VERSION = '0.02'; +our $VERSION = '0.03'; =head1 NAME @@ -19,7 +19,9 @@ Catalyst::Plugin::ConfigLoader - Load config files of various types package MyApp; - use Catalyst( qw( ConfigLoader ... ) ); + # ConfigLoader should be first in your list so + # other plugins can get the config information + use Catalyst qw( ConfigLoader ... ); # by default myapp.* will be loaded # you can specify a file if you'd like @@ -37,8 +39,8 @@ INI and Perl formats. =head2 setup( ) This method is automatically called by Catalyst's setup routine. It will -attempt to use each plugin and set the C section once a file has been -successfully loaded. +attempt to use each plugin and, once a file has been successfully +loaded, set the C section. =cut