NAME

MooseX::ScopedConfig - Moose eXtension to use Config::Scoped

VERSION

Version 0.03

SYNOPSIS

MooseX::ScopedConfig is to Config::Scoped as MooseX::SimpleConfig is to Config::Any

package My::AwesomePackage;
use Moose;
with 'MooseX::ScopedConfig';

# optional, default config file name
sub configfile { '/tmp/application.cfg' }

# a script useing your awesome (configurable) package

use My::AwesomePackage;
my $ap = My::AwesomePackage->new_with_config(configfile => '/tmp/app.cfg');
...

SUBROUTINES/METHODS

get_config_from_file

get_config_from_file does the real work tying Config::Scoped to MooseX::ConfigFromFile

AUTHOR

brad barden, <iamb at mifflinet.net>

BUGS

Please report any bugs or feature requests to bug-moosex-scopedconfig at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-ScopedConfig. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc MooseX::ScopedConfig

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2012 brad barden.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.