App-bk
view release on metacpan or search on metacpan
lib/App/bk.pm view on Meta::CPAN
'version|V' => 0,
'debug:+' => 0,
'diff|d' => 0,
'edit|e' => 0,
);
my %options;
# 'tidier' way to store global variables
# probably shouldnt do it like this - will rework later
$options{debug} ||= 0;
$options{username} = getpwuid($EUID);
if ( $options{username} eq 'root' ) {
logmsg( 2, 'Running as root so dropping username from file backups' );
$options{username} = '';
}
=head1 SYNOPSIS
Please see the file F<bk> for more information about the F<bk> program.
( run in 0.233 second using v1.01-cache-2.11-cpan-8d75d55dd25 )