Perlbal::Plugin::Include.3pm

Langue: en

Version: 2008-03-08 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

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 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.