NAME
Config::MVP::Reader - role to load MVP-style config from a file
VERSION
version 1.101451
DESCRIPTION
The config role provides some helpers for writing a configuration loader using the Config::MVP system to load and validate its configuration. It delegates assembly of the configuration sequence to an Assembler. The Reader is responsible for opening, reading, and interpreting a file.
METHODS
build_assembler
If no Assembler is provided to read_config
's assembler
parameter, this method will be called on the Reader to construct one.
It must return a Config::MVP::Assembler object, and by default will return an entirely generic one.
read_config
my $sequence = $reader->read_config($location, \%arg);
AUTHOR
Ricardo Signes <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.