Jonathan Rockway > Chroniton-0.03 > Chroniton::Config

Download:
Chroniton-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View Bugs
Report a bug
Source  

NAME ^

Chroniton::Config - manages config file for Chroniton

SYNOPSIS ^

     my $config = Chroniton::Config->new;

METHODS ^

new

Creates an instance. Takes no arguments.

destination

Returns the directory where the backup should be placed.

locations

Returns a list of directories to be backed up.

config_file

Returns the path to the config file.

archive_after

Returns the number of days between archiving operations.

exclude

Returns a list of compiled regular expressions. If a path matches one of these, don't back it up.

Chroniton::Config->_create

Creates an empty config file.