Scroll to navigation

Config::Model::Lister(3pm) User Contributed Perl Documentation Config::Model::Lister(3pm)
 

NAME

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

VERSION

version 2.061

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

AUTHOR

Dominique Dumont

COPYRIGHT AND LICENSE

This software is Copyright (c) 2014 by Dominique Dumont.
This is free software, licensed under:
  The GNU Lesser General Public License, Version 2.1, February 1999
2014-09-24 perl v5.20.0