MMM - MMM Mirror Manager
Create a new MMM object. %options can provide:
The configuration file to use (default is 'mmm.cfg')
The location of locales lists (default is '.')
A ref to an handle where to write message
The verbosity level (default is 3)
Return the state directory
Set the callback where message are written
Log a message. $level is one of
LEVEL FATAL ERROR WARNING NOTICE INFO DEBUG
Format a log message and return it
Set the verbosity
Return the hostname setup in the configuration
Return the MMM::Host which identify the host where the process is running
Return a value from configuation
Return the list of setup task
Return a MMM::MirrorTask object for the each @tasks_name
Process all load rsync job
function called at the end of process
Check the config
Olivier Thauvin <nanardon@nanardon.zarb.org>
Copyright (C) 2006 Olivier Thauvin
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
To install MMM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MMM
CPAN shell
perl -MCPAN -e shell install MMM
For more information on module installation, please visit the detailed CPAN module installation guide.