-c|onf <file>: Config file holding patterns to match (Default:
.../etc/cleantmp.conf)
-l|ogpath <path>: Path to logfile (Default: /var/log)
-c|onf <file>: Config file holding patterns to match (Default:
.../etc/cleantmp.conf)
-l|ogpath <path>: Path to logfile (Default: /var/log)
help => sub { pod2usage(-verbose => 2)},
verbose => sub { set_verbose },
debug => sub { set_debug },
help => sub { pod2usage(-verbose => 2)},
verbose => sub { set_verbose },
debug => sub { set_debug },
tmp => File::Spec->tmpdir(),
conf => "$FindBin::Bin/../etc/$script.conf",
logpath => '/var/local/log',
tmp => File::Spec->tmpdir(),
conf => "$FindBin::Bin/../etc/$script.conf",
logpath => '/var/local/log',
-$log = Logger->new(path => $opts{logpath}, timestamped => 1);
+$log = Logger->new(
+ path => $opts{logpath},
+ timestamped => 1,
+ append => $opts{append},
+);