App-Rad-Plugin-ConfigLoader
    
    
  
  
  
view release on metacpan or search on metacpan
App-Rad-Plugin-ConfigLoader
This module extends App::Rad's functionality by letting you use Config::Any to load configuration files of various types transparently.
Please refer to Config::Any for more information on acepted file formats.
INSTALLATION
To install this module, run the following commands:
	perl Build.PL
	./Build
    
  
  
  lib/App/Rad/Plugin/ConfigLoader.pm view on Meta::CPAN
    $c->load_config('somefile.yml');
Then just access its items through the regular C<< $c->config >> hash.
=head1 DESCRIPTION
Although C<< App::Rad >>'s standard C<< $c->load_config() >> method intends to be intuitive and somewhat flexible for simple configuration files, you may need something more sofisticated or standardized for your applications.
This module extends L<App::Rad>'s functionality by letting you use C<< Config::Any >> to load configuration files of various types transparently.
Please refer to L<Config::Any> for more information on acepted file formats.
=head2 Loading configuration files
This plugin overrides C<< App::Rad >>'s standard C<< $c->load_config >> methodto support different file formats according to their file extension while providing the same syntax.
=head3 $c->load_config( FILE [,FILE2, FILE3, ...] )
Different files can have different extensions and they all should load transparently in order to be accessed via C<< $c->config >>.
=head1 AUTHOR
Breno G. de Oliveira, C<< <garu at cpan.org> >>
=head1 BUGS
Please report any bugs or feature requests to C<bug-app-rad-plugin-configloader at rt.cpan.org>, or through
    
  
  
  
( run in 0.509 second using v1.01-cache-2.11-cpan-a1d94b6210f )