Rubric::Config - the configuration data for a Rubric
$Id: Config.pm,v 1.9 2004/12/14 04:30:54 rjbs Exp $
Rubric::Config provides access to the configuration data for a Rubric. The basic implementation stores its configuration in YAML in a text file found using Config::Auto's find_file function.
This method returns the config data, if loaded. If it hasn't already been loaded, it finds and parses the configuration file, then returns the data.
This method returns the DSN to be used by Rubric::DBI to connect to the Rubric's database.
This method returns the URI for the root of the Rubric::WebApp install.
This method returns the URI for the stylesheet to be used by Rubric::WebApp pages.
This method returns the INCLUDE_PATH passed to Template when creating the template renderer.
This method returns the email address from which Rubric will send email.
This method returns the SMTP server used to send email.
This method returns a true value if registration isn't open to the world.
This method returns a true value if the Rubric is private. A private Rubric restricts unauthenticated sessions to logging in or registering an account (and if registration is closed, they can only log in).
Ricardo SIGNES, <rjbs@cpan.org>
<rjbs@cpan.org>
Please report any bugs or feature requests to bug-rubric@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-rubric@rt.cpan.org
Copyright 2004 Ricardo SIGNES. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Rubric, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rubric
CPAN shell
perl -MCPAN -e shell install Rubric
For more information on module installation, please visit the detailed CPAN module installation guide.