Config::Model::HashId - Handle hash element for configuration model
$model ->create_config_class ( ... element => [ bounded_hash => { type => 'hash', index_type => 'integer', min => 1, max => 123, max_nb => 2 , collected_type => 'leaf', element_args => {value_type => 'string'}, }, ] ) ;
This class provides hash elements for a Config::Model::Node.
The hash index can either be en enumerated type, a boolean, an integer or a string.
HashId object should not be created directly.
See model declaration section from Config::Model::AnyId.
Returns the nb of elements of the hash.
Returns the first key of the hash. Behaves like each core perl function.
each
Returns the next key of the hash. Behaves like each core perl function.
Dominique Dumont, domi@komarr.grenoble.hp.com
Config::Model::Model, Config::Model::Instance, Config::Model::AnyId, Config::Model::ListId, Config::Model::Value
To install Config::Model, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Config::Model
CPAN shell
perl -MCPAN -e shell install Config::Model
For more information on module installation, please visit the detailed CPAN module installation guide.