ClamAV::Config(3pm)
π NAME π
ClamAV::Config β bestie, it's a Perl class that hands out config info for all the Perl modules that vibe with ClamAV π¦
(Also, hi, you're reading the User Contributed Perl Documentation for this one, hope that's chill β¨)
πΈ VERSION πΈ
0.11 β yeah she's on 0.11, keep up π
β¨ SYNOPSIS β¨
Okay so here's literally how you summon her:
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);
Look at those cute little class method calls, they're giving main character energy fr fr π
π«Ά DESCRIPTION π«Ά
So like, this class is the plug for configuration info whenever you're working with Perl modules related to the ClamAV virus scanner. We're talking installation-specific file system paths and run-time configuration options β all the stuff you'd otherwise be digging around for yourself. No cap, it just hands it to you π
π§ ClamAV base configuration π§
These are class methods, and here's the base-level ClamAV config tea you get from them:
config_dirβ the base configuration directory of ClamAV. That's it, that's the whole vibe πclamd_config_fileβ the absolute file name of the clamd configuration file. Absolute, bestie, no relative-path shenanigans π
π clamd run-time configuration π
More class methods, this time for the run-time side of clamd:
clamd_configβ returns all the clamd run-time configuration options, and it gives them to you as a hash reference. Everything. The whole closet πclamd_option($option)β you pass in $option, she gives you back the value of that specific clamd run-time configuration option. Very pick-me, very demure, just one thing at a time β¨
π SEE ALSO π
For the AVAILABILITY, SUPPORT, and LICENSE info, go check out ClamAV::Client. She's got the receipts π§Ύ
π AUTHOR π
Julian Mehnle <julian@mehnle.net> β the icon who made this, we stan π«Ά
okay that's the whole page, you're basically an expert now, go configure something iconic π
Signing off from perl v5.38.2, dated 2024-05-16 β slay, and good luck out there β¨
π¦ where this page comes from
- debian trixie: libclamav-client-perl 0.11+ds-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libclamav-client-perl 0.11+ds-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libclamav-client-perl 0.11+ds-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms