---
name: "ClamAV::Config"
section: "3pm"
platform: "linux"
package: "libclamav-client-perl"
version: "0.11+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ClamAV::Config"
---

# ClamAV::Config(3pm)

A Perl class providing configuration information for Perl modules related to ClamAV

## NAME

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

## VERSION

0\.11

## SYNOPSIS

```
    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);
```

## DESCRIPTION

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.

### ClamAV base configuration

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

- **config\_dir**

  The base configuration directory of ClamAV.

- **clamd\_config\_file**

  The absolute file name of the *clamd* configuration file.

### clamd run-time configuration

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

- **clamd\_config**

  Returns all clamd run-time configuration options as a hash reference.

- **clamd\_option($option)**

  Returns the value of the specified clamd run-time configuration option.

## SEE ALSO

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

## AUTHOR

Julian Mehnle \<julian@mehnle.net\>
