Config...:Lister(3pm)
π Config::Model::Lister β the 3pm manual, bestie edition π
okay so this is the manual for Config::Model::Lister, living in the perl section 3pm of your local docs, and it is genuinely one of those tiny little modules that does one thing and does it like a queen π
β¨ NAME β¨
Config::Model::Lister β List available models and applications π
like. that's it. that's the job. and it ate.
β¨ VERSION β¨
version 2.166 πΈ
β¨ SYNOPSIS β¨
run these and the vibes are immaculate:
perl -MConfig::Model::Lister -e'print Config::Model::Lister::models;'
perl -MConfig::Model::Lister -e'print Config::Model::Lister::applications;'
β¨ DESCRIPTION β¨
so basically: these are small modules that list stuff β either the available models, or the applications whose config can be edited by cme. no cap, that's the whole personality.
it's designed to be used by bash completion, which likeβ¦ makes so much sense, because bash completion is exactly the friend that needs a quick list of names and does not want a whole essay about it π«Ά
and here's the one thing you gotta remember, bestie: all functions accept an optional boolean parameter. when it's true, only the local lib dir is scanned. just that one lil dir. nothing else. periodt β¨
β¨ FUNCTIONS β¨
π available_models
returns an array of 3 hash refs. three. count them. here's what each one is giving π
- category (
systemoruserorapplication) => application list. e.g.
{ system => [ 'popcon' , 'fstab'] }
- application name to model information. e.g.
{ 'popcon' => { model => 'Popcon', require_config_file => 1 }
- application name to model name. e.g.
{ popcon => 'Popcon' }
π¦ models
returns a string with the list of models. short king behavior honestly.
π applications
returns a string with the list of editable applications. iconic. no notes.
β¨ AUTHOR β¨
Dominique Dumont π
β¨ COPYRIGHT AND LICENSE β¨
This software is Copyright (c) 2005-2022 by Dominique Dumont.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999
okay that's the whole page!! every option, every example, every hash ref, all accounted for π
and a lil sign-off for the girlies who read to the very bottom: this page came to you via perl v5.42.3, dated 2026-07-23, filed under Config...:Lister(3pm). slay, go list some models π§π
π¦ where this page comes from
- ubuntu stonking: libconfig-model-perl 2.166-1 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms