DOKK / manpages / debian 12 / libclamav-client-perl / ClamAV::Config.3pm.en
ClamAV::Config(3pm) User Contributed Perl Documentation ClamAV::Config(3pm)

ClamAV::Config - A Perl class providing configuration information for Perl modules related to ClamAV

0.11

    use ClamAV::Config;
    
    # ClamAV base configuration:
    ClamAV::Config->config_dir;
    ClamAV::Config->clamd_config_file;
    
    # clamd run-time configuration:
    ClamAV::Config->clamd_config;
    ClamAV::Config->clamd_option($option);

This class provides configuration information for Perl modules related to the ClamAV virus scanner, e.g. installation specific file system paths and run-time configuration options.

The following ClamAV base configuration information is provided as class methods:

The base configuration directory of ClamAV.
The absolute file name of the clamd configuration file.

The following clamd run-time configuration information is provided as class methods:

Returns all clamd run-time configuration options as a hash reference.
Returns the value of the specified clamd run-time configuration option.

For AVAILABILITY, SUPPORT, and LICENSE information, see ClamAV::Client.

Julian Mehnle <julian@mehnle.net>

2022-05-27 perl v5.34.0