Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Rsync::Config 0.3.1

    Download button

    No screenshots available
    Downloads: 355  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Manuel SUBREDU | More programs
    MPL / FREE
    January 17th, 2007, 07:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    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 .

    INHERITANCE

    Objects 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::Comment

    SYNOPSIS

    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');
    }

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    rsync configuration | configuration generator | Perl module | Rsync::Config | rsync | configuration

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM