Config::Model::Backend::Debian::Dpkg::Control - Read and write Debian Dpkg control information
version 1.213
# model declaration name => 'FooConfig', read_config => [ { backend => 'Debian::Dpkg::Control' , config_dir => 'debian', file => 'control', # optional auto_create => 1, # optional } ], element => ... ) ;
This module is used directly by Config::Model to read or write the content of a configuration tree written with Debian Dpkg syntax in Config::Model configuration tree. This syntax is used to specify license information in Debian source package format.
Config::Model
Inherited from Config::Model::Backend::Any. The constructor will be called by Config::Model::AutoRead.
Of all parameters passed to this read call-back, only io_handle is used. This parameter must be IO::File object already opened for read.
io_handle
It can also be undef. In this case, read() will return 0.
read()
When a file is read, read() will return 1.
Of all parameters passed to this write call-back, only io_handle is used. This parameter must be IO::File object alwritey opened for write.
write() will return 1.
write()
Dominique Dumont, (ddumont at cpan dot org)
Config::Model, Config::Model::AutoRead, Config::Model::Backend::Any,
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.