ZoneMinder::Config(3) ZoneMinder configuration module.


use ZoneMinder::Config qw(:all);


The ZoneMinder::Config module is used to import the ZoneMinder configuration from the database. It will do this at compile time in a BEGIN block and require access to the zm.conf file either in the current directory or in its defined location in order to determine database access details, configuration from this file will also be included. If the :all or :config tags are used then this configuration is exported into the namespace of the calling program or module.

Once the configuration has been imported then configuration variables are defined as constants and can be accessed directory by name, e.g.

 $lang = $Config{ZM_LANG_DEFAULT};


None by default. The :constants tag will export the ZM_PID constant which details the location of the file The :config tag will export all configuration from the database as well as any from the zm.conf file The :all tag will export all above symbols.


Philip Coombes, <[email protected]>


Copyright (C) 2001-2008 Philip Coombes

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.3 or, at your option, any later version of Perl 5 you may have available.