1ClamAV::Config(3)     User Contributed Perl Documentation    ClamAV::Config(3)
2
3
4

NAME

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

VERSION

10       0.11
11

SYNOPSIS

13           use ClamAV::Config;
14
15           # ClamAV base configuration:
16           ClamAV::Config->config_dir;
17           ClamAV::Config->clamd_config_file;
18
19           # clamd run-time configuration:
20           ClamAV::Config->clamd_config;
21           ClamAV::Config->clamd_option($option);
22

DESCRIPTION

24       This class provides configuration information for Perl modules related
25       to the ClamAV virus scanner, e.g. installation specific file system
26       paths and run-time configuration options.
27
28   ClamAV base configuration
29       The following ClamAV base configuration information is provided as
30       class methods:
31
32       config_dir
33           The base configuration directory of ClamAV.
34
35       clamd_config_file
36           The absolute file name of the clamd configuration file.
37
38   clamd run-time configuration
39       The following clamd run-time configuration information is provided as
40       class methods:
41
42       clamd_config
43           Returns all clamd run-time configuration options as a hash
44           reference.
45
46       clamd_option($option)
47           Returns the value of the specified clamd run-time configuration
48           option.
49

SEE ALSO

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

AUTHOR

54       Julian Mehnle <julian@mehnle.net>
55
56
57
58perl v5.34.0                      2022-01-21                 ClamAV::Config(3)
Impressum