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 (system or user or application) => 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 πŸ‘‘

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