Archive::Parity - makes parity file; recover files.


NAME

Archive::Parity - makes parity file; recover files.


SYNOPSIS

    use Archive::Parity;
    # to make a parity file from a list of files:
    Archive::Parity::do_parity (out_filename, filename1, filename2, filename3);
    # to recover a lost file:
    # use the same command, placing the lost file name in front of the list:
    Archive::Parity::do_parity (filename1, out_filename, filename2, filename3);

The parity file must have a ``.par'' extension.


TODO

 object interface.
 try not to overwrite outfile; do not allow repeated filenames.
 save filename;
 check errors.
 memory operation for small files.
 Test with different chunk sizes.
 check_parity just to check if everything is ok.
 write 'usage' for eg/do_parity.pl


HISTORY

 0.06 'use vars' instead of 'our'
      make a proper module instead of 'zip'


AUTHOR

Flávio Soibelmann Glock - fglock@pucrs.br

 Archive::Parity - makes parity file; recover files.