The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Config::Model::Lister - List available models and applications

VERSION

version 2.041

SYNOPSIS

 perl -MConfig::Model::Lister -e'print Config::Model::Lister::models;'

 perl -MConfig::Model::Lister -e'print Config::Model::Lister::applications;'

DESCRIPTION

Small modules to list available models or applications whose config can be edited by config-edit. This module is designed to be used by bash completion.

FUNCTIONS

available_models

Returns an array of 3 hash refs:

  • category (system or user or application) => application list. E.g.

     { system => [ 'popcon' , 'fstab'] }
  • application => { model => 'model_name', ... }

  • application => model_name

models

Returns a string with the list of models.

applications

Returns a string with the list of editable applications.

SUPPORT

CPAN RT system, Debian BTS or mailing list.

AUTHOR

Copyright 2011 Dominique Dumont