DebAux::Debconf(3pm)

πŸ“¦
version 0.1.12 Β· 3 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

✨ 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