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=d4092cb51e0c294426482073a876168ded6ecc61;hpb=c7413665fa4fdabbd3d0e796070ef2f218eef333;p=catagits%2FCatalyst-Plugin-ConfigLoader.git diff --git a/lib/Catalyst/Plugin/ConfigLoader.pm b/lib/Catalyst/Plugin/ConfigLoader.pm index d4092cb..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( 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