NAME

Archive::BagIt - An interface to make and verify bags according to the BagIt standard

VERSION

Version 0.02

SYNOPSIS

This modules will hopefully help with the basic commands needed to create and verify a bag. My intention is not to be strict and enforce all of the specification. The reference implementation is the java version and I will endeavour to maintain compatibility with it.

use Archive::BagIt;

#read in an existing bag:
my $bag = Archive::BagIt->new($bag_dir);


#construct bag in an existing directory
my $bag = Archive::BagIt->make_bag($bag_dir);

# Validate a BagIt archive against its manifest
my $bag = Archive::BagIt->new($bag_dir);
$is_valid = $bag->verify_bag($root);

SUBROUTINES

new An Object Oriented Interface to a bag. Opens an existing bag.

make_bag A constructor that will make and return a bag from a directory

verify_bag

An interface to verify a bag

get_checksum

version

AUTHOR

  • Robert Schmidt, <rjeschmi at gmail.com>

  • William Wueppelmann, <william at c7a.ca>

BUGS

Please report any bugs or feature requests to bug-archive-bagit at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Archive-BagIt. 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 Archive::BagIt

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2012 Robert Schmidt and William Wueppelmann

This program is released under the following license: cc0