Alan Kasindorf > Perlbal-1.80 > Perlbal::Plugin::Include

Download:
Perlbal-1.80.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  3
View/Report Bugs
Source  

NAME ^

Perlbal::Plugin::Include - Allows multiple, nesting configuration files

DESCRIPTION ^

This module adds an INCLUDE command to the Perlbal management console and allows the globbed inclusion of configuration files.

SYNOPSIS ^

This module provides a Perlbal plugin which can be loaded and used as follows:

    LOAD include
    INCLUDE = /etc/perlbal/my.conf

You may also specify multiple configuration files a la File::Glob:

    INCLUDE = /foo/bar.conf /foo/quux/*.conf

BUGS AND LIMITATIONS ^

This module relies entirely on Perlbal::load_config for loading, so if you have trouble with INCLUDE, be sure you can load the same configuration without error using "perlbal -c" first.

Also note that Perlbal::load_config versions 1.60 and below do not use a local filehandle while reading the configuration file, so this module overrides that routine on load to allow nested calls.

COPYRIGHT AND LICENSE ^

Copyright 2008 Eamon Daly <eamon@eamondaly.com>

This module is part of the Perlbal distribution, and as such can be distributed under the same licence terms as the rest of Perlbal.

syntax highlighting: