| Jorge documentation | Contained in the Jorge distribution. |
Jorge::Config - Configuration package to interface with Config::YAML file
Version 0.01
It is not expected accessing to this package directly. So, move to main Jorge docs for reference.
Mondongo, <mondongo at gmail.com> Did the important job and started
this beauty.
Julian Porta, <julian.porta at gmail.com> took the code and tried
to make it harder, better, faster, stronger.
Please report any bugs or feature requests to bug-jorge at rt.cpan.org,
or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Jorge.
I will be notified, and then you'll
automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc Jorge
You can also look for information at:
Mondongo <mondongo at gmail.com> For starting this.
Copyright 2009 Julian Porta, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Jorge documentation | Contained in the Jorge distribution. |
package Jorge::Config; use Config::YAML; use warnings; use strict;
our $VERSION = '0.01'; our $CONFIG_FILE = 'config/jorge.yml'; sub new { my $class = shift; my $obj = bless {}, $class; -e ($CONFIG_FILE) || warn 'config file not found on ' . $CONFIG_FILE; my $c; $c = Config::YAML->new( config => $CONFIG_FILE ); return $c; }
1; # End of Jorge::Config