DebAux::Debconf(3pm)
β¨ DebAux::Debconf β¨
okay so bestie, this is DebAux::Debconf π β a lil Perl module (from the User Contributed Perl Documentation corner of the world, we love a community moment) that gives you an easy interface to Debconf::Client::ConfModule. It's giving "wrapped it up so you don't have to". π
πΈ SYNOPSIS πΈ
like, literally the whole vibe in four lines:
use DebAux::Debconf;
DebAux::Debconf::get('package/name');
DebAux::Debconf::set('package/name','value');
DebAux::Debconf::ask('medium','package/name');
π¦ DESCRIPTION π¦
This module provides an easy interface to Debconf::Client::Module which does the error handling for you. π«Ά
that's it. that's the pitch. no cap β you poke it, it pokes debconf, and if anything goes sideways it just dies so you don't have to sit there checking return codes like it's 1999. main character energy for real. π
π FUNCTIONS π
π get name
Get the value for name. Dies on any error. π
π set name value
Set the value for name. Dies on any error. π
π ask priority name
Asks for the value for name with the priority priority. Combines the debconf commands INPUT and GO. π₯
Dies on any error. π
okay so heads up β every single one of these three functions dies on any error. no graceful little error object, no return code to check, just β¨ death β¨. wrap them in eval if you're not about that life, iykyk. π
and that's the whole page, periodt. π β¨
this lil masterpiece lives in the perl v5.32.0 docs and is dated 2021-01-05. mwah, iconic, no notes. ππ¦π
π¦ where this page comes from
- debian bookworm: debaux-debconf 0.1.12-1.1
- ubuntu jammy: debaux-debconf 0.1.12-1.1
- ubuntu noble: debaux-debconf 0.1.12-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms