Catmandu::Exporter::MAB2
Package that exports MAB2 data
- Provided by: libcatmandu-mab2-perl (Version: 0.13-1)
- Report a bug
Package that exports MAB2 data
use Catmandu::Exporter::MAB2;
my $exporter = Catmandu::Exporter::MAB2->new(file => "mab2.dat", type => "RAW");
my $data = {
record => [
...
[245, '1', 'a', 'Cross-platform Perl /', 'c', 'Eric F. Johnson.'],
...
],
};
$exporter->add($data);
$exporter->commit;
Create a new Catmandu MAB2 exports which serializes into a $file.
Add record to exporter.
Close collection (optional) and filehandle.
In addition to the configuration provided by Catmandu::Exporter ("file", "fh", etc.) the importer can be configured with the following parameters:
Johann Rolschewski <jorol@cpan.org>
This software is copyright (c) 2013 by Johann Rolschewski.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.