ClamAV::Config(3pm)

πŸ“¦
version 0.11 Β· 5 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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