|
NAMEGantry::Conf - Gantry's Flexible Configuration SystemSYNOPSISuse Gantry::Conf; # Retrieve a simple instance my $conf = Gantry::Conf->retrieve( { instance => 'foo' } ); # Retrieve an instance from an alternate configuration file # other than /etc/gantry.conf my $conf2 = Gantry::Conf->retrieve({ instance => 'special', config_file => '/etc/special.conf' }); DESCRIPTIONGantry::Conf is a configuration abstraction interface. While a part of the Gantry Framework, it can be used alone, as it does not require any other portions of Gantry.It is used to allow an application to bootstrap it's own configuration with very little information. In most cases, the only information that an application needs to know in order to bootstrap itself is the name of its instance. This instance name could be hard coded into the application, but we strongly recommend using something more flexible. If you are new to Gantry::Conf see the "Gantry::Conf::Tutorial" and the "Gantry::Conf::FAQ" for more information. METHODS
SEE ALSOGantry(3), Gantry::Conf::Tutorial(3), Ganty::Conf::FAQ(3)LIMITATIONSCurrently this system only works on Unix-like systems.AUTHORFrank Wiles <frank@revsys.com>COPYRIGHT and LICENSECopyright (c) 2006, Frank Wiles.This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
Visit the GSP FreeBSD Man Page Interface. |