Config::Model::Backend::Fstab - Read and write config from fstab file
version 2.110
No synopsis. This class is dedicated to configuration class Fstab
Fstab
This module is used directly by Config::Model to read or write the content of a configuration tree written with fstab syntax in Config::Model configuration tree. Typically this backend is used to read and write /etc/fstab.
fstab
Config::Model
/etc/fstab
This backend is able to read and write comments in the /etc/fstab file.
The documentation below describes methods that are currently used only by Config::Model. You don't need to read it to write a model.
Inherited from Config::Model::Backend::Any. The constructor is called by Config::Model::BackendMgr.
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() returns 0.
read()
When a file is read, read() returns 1.
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() returns 1.
write()
Dominique Dumont, (ddumont at cpan dot org)
Config::Model, Config::Model::BackendMgr, Config::Model::Backend::Any,
Dominique Dumont
This software is Copyright (c) 2005-2017 by Dominique Dumont.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999
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.