Rsync::Config

Rsync::Config is a Perl module for rsync configuration generator.
Download

Rsync::Config Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MPL
  • Price:
  • FREE
  • Publisher Name:
  • Manuel SUBREDU
  • Publisher web site:
  • http://search.cpan.org/~diablo/Rsync-Config-0.3.1/lib/Rsync/Config/Parser.pm

Rsync::Config Tags


Rsync::Config Description

Rsync::Config is a Perl module for rsync configuration generator. Rsync::Config is a Perl module for rsync configuration generator.Rsync::Config is a module who can be used to create rsync configuration files. A configuration file (from Rsync::Config point of view) is made by atoms and modules with atoms. A atom is the smallest piece from the configuration file. This module inherits from Rsync::Config::Module .INHERITANCEObjects from Rsync::Config inherits as in the next scheme /--- Rsync::Config::Module --- Rsync::Config Rsync::Config::Renderer --- Rsync::Config::Blank / Rsync::Config::Atom --- --- Rsync::Config::CommentSYNOPSIS use Rsync::Config; use Rsync::Config::Atom; use Rsync::Config::Module; sub main { my ($conf, $module); $conf = new Rsync::Config(); $conf->add_comment('Main configuration file for our rsync daemon'); $conf->add_atom('read only','yes'); $conf->add_atom('chroot','yes'); $module = new Rsync::Config::Module(name => 'cpan'); $module->add_atom('path','/var/ftp/pub/mirrors/ftp.cpan.org/'); $module->add_atom('comment', 'CPAN mirror'); $conf->add_module($module); $conf->to_file('/etc/rsyncd.conf'); } Requirements: · Perl


Rsync::Config Related Software