Religion::Bible::Regex::Config - Creates a configuration object for the Religion::Bible::Regex objects from a YAML file.
This document describes Religion::Bible::Regex::Config version 0.2
use Religion::Bible::Regex::Config; # Initialize with a YAML file or a string containing YAML my $c = new Religion::Bible::Regex::Config("config.yml"); # Retrieve configurations in YAML format my $regex_configurations = $c->get_regex_configs; my $reference_configurations = $c->get_reference_configs; # Initialize other Religion::Bible::Regex objects my $r = new Religion::Bible::Regex::Regex($c); my $v = new Religion::Bible::Regex::Versification($r, $c); my $ref = new Religion::Bible::Regex::Reference($r, $c);
Creates a configuration object from a YAML file or string
Returns a configuration string
Returns a hash of all configurations
Returns a hash of the reference configurations
Returns a hash of the regex configurations
Returns a hash of the versification configurations
Returns a hash of the bookname configurations
See the YAML module for more details.
Religion::Bible::Regex::Config requires no configuration files or environment variables.
YAML
No bugs have been reported.
Please report any bugs or feature requests to bug-religion-bible-regex-config@rt.cpan.org, or through the web interface at http://rt.cpan.org.
bug-religion-bible-regex-config@rt.cpan.org
Daniel Holmlund <holmlund.dev@gmail.com>
<holmlund.dev@gmail.com>
Copyright (c) 2009, Daniel Holmlund <holmlund.dev@gmail.com>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install Religion::Bible::Regex::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Religion::Bible::Regex::Config
CPAN shell
perl -MCPAN -e shell install Religion::Bible::Regex::Config
For more information on module installation, please visit the detailed CPAN module installation guide.