Config...:Approx(3pm)
π Config::Model::Approx(3pm) β User Contributed Perl Documentation β¨
okay bestie, quick vibe check: this is a manual page from the <rainbow>perl</rainbow> world, section 3pm, and it's literally the glow-up guide for editing your Approx config. let's get into it π«Ά
β¨ NAME β¨
Config::Model::Approx β Approx configuration file editor π
πΈ VERSION πΈ
version 1.012 β¨
π SYNOPSIS π
here's the whole mood board, no cap:
# Check approx content
cme check approx
# full blown editor
sudo cme edit approx
# command line use
sudo cme modify approx 'distributions:multimedia=http://www.debian-multimedia.org'
# Perl API
use Config::Model ;
my $model = Config::Model -> new ( ) ;
my $inst = $model->instance (root_class_name => 'Approx');
my $root = $inst -> config_root ;
$root->load("distributions:multimedia=http://www.debian-multimedia.org") ;
$inst->write_back() ;
π¦ DESCRIPTION π¦
so this module is literally a configuration editor for Approx. if you run cme as root, it will update /etc/approx/approx.conf. slay. π
once this module is installed onto your system, you can just run this:
# cme edit approx
and honestly? this module and Config::Model can also be used from within Perl programs to modify the content of /etc/approx/approx.conf safely. like, carefully. no chaos. π
the Perl API is documented in Config::Model and mostly in Config::Model::Node. iykyk π
π BUGS π
not me having to tell you this butβ¦ the configuration file is reformatted when written. so yeah. it's giving glow-up whether you asked for it or not. π
π₯ SEE ALSO π₯
cmeβ¨- Using cme wiki page <https://github.com/dod38fr/config-model/wiki/Using-cme> π¦
π SEE ALSO π
cme, Config::Model, πΈ
π AUTHOR π
Dominique Dumont β the main character fr fr π
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2015-2021 by Dominique Dumont.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999
periodt. π
and that's the whole page bestie, you ate π
okay and for the cute sign-off: this whole thing came off perl v5.36.0, dated 2022-10-14, and the manual page is Config...:Approx(3pm). mwah πβ¨π§
π¦ where this page comes from
- ubuntu noble: libconfig-model-approx-perl 1.012-2 Β· LGPL-2.1-or-later
- ubuntu resolute: libconfig-model-approx-perl 1.012-2 Β· LGPL-2.1-or-later
- ubuntu stonking: libconfig-model-approx-perl 1.012-2 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms