Man pages sections > man3 > Config::Model::Backend::Dpkg::Control

Config::Model::Backend::Dpkg::Control - Read and write Debian Dpkg control

Config::Model::Backend::Dpkg::Control(3pm) User Contributed Perl Documentation Config::Model::Backend::Dpkg::Control(3pm)

NAME

Config::Model::Backend::Dpkg::Control - Read and write Debian Dpkg control information

SYNOPSIS

No synopsis. This class is dedicated to configuration class "Dpkg::Control"

DESCRIPTION

This module is used directly by Config::Model to read or write the content of Debian "control" file.
All "control" files keyword are read in a case-insensitive manner.

CONSTRUCTOR

new ( node => $node_obj, name => 'Dpkg::Control' ) ;

Inherited from Config::Model::Backend::Any. The constructor will be called by Config::Model::AutoRead.

read ( io_handle => ... )

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.
It can also be undef. In this case, "read()" will return 0.
When a file is read, "read()" will return 1.

write ( io_handle => ... )

Of all parameters passed to this write call-back, only "io_handle" is used. This parameter must be IO::File object already opened for write.
"write()" will return 1.

AUTHOR

Dominique Dumont, (ddumont at cpan dot org)

SEE ALSO

Config::Model, Config::Model::AutoRead, Config::Model::Backend::Any,
2017-10-17 perl v5.26.0