The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::bk - A module for functions used by the bk program.

VERSION

Version 0.05

SYNOPSIS

Please see the file bk for more information about the bk program.

SUBROUTINES/METHODS

backup_files

Main function to process ARGV and backup files as necessary

logmsg($level, @message);

Output @message if $level is equal or less than $options{debug}

$binary = find_sum_binary();

Locate a binary to use to calculate a file checksum. Looks first for md5sum, then sum. Dies on failure to find either.

$sum = get_chksum($file);

Get the chksum of a file

$binary = find_diff_binary();

Locate a binary to use for diff

$differences = get_diff ($old, $new);

Get the differences between two files

$filename = get_last_backup($file);

Get the last backup filename for given file

AUTHOR

Duncan Ferguson, <duncan_j_ferguson at yahoo.co.uk>

BUGS

Please report any bugs or feature requests via the web interface at https://github.com/duncs/perl-app-bk/issues/ I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc App::bk

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2011 Duncan Ferguson.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.