X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FSimpleConfig.pm;h=e12b10410d725f375eb799d2c5bf2a344c61e7d4;hb=a96520dd1f1563ad6c55047dea3f80e0bd125c41;hp=76380e5796aa18860f1daadddce07ccecd60349c;hpb=a61b087b18c87dde0503fac7cd4b5cf9a3b86ef0;p=gitmo%2FMooseX-SimpleConfig.git diff --git a/lib/MooseX/SimpleConfig.pm b/lib/MooseX/SimpleConfig.pm index 76380e5..e12b104 100644 --- a/lib/MooseX/SimpleConfig.pm +++ b/lib/MooseX/SimpleConfig.pm @@ -3,7 +3,7 @@ package MooseX::SimpleConfig; use Moose::Role; with 'MooseX::ConfigFromFile'; -our $VERSION = '0.02'; +our $VERSION = '0.03'; use Config::Any (); @@ -106,7 +106,10 @@ well, which allows specifying C<-configfile> on the commandline. =head2 configfile -Provided by the base role L. +Provided by the base role L. You can +provide a default configfile pathname like so: + + has +configfile ( default => '/etc/myapp.yaml' ); =head1 CLASS METHODS