NAME

MARC::Utils::MARC2Pairs - Perl module that provides routines to convert from a MARC::Record object to a Data::Pairs structure.

SYNOPSIS

    use MARC::Utils::MARC2Pairs qw( marc2pairs pairs2marc );

    $pairs       = marc2pairs( $marc_record );
    $marc_record = pairs2marc( $pairs );

DESCRIPTION

MARC::Utils::MARC2Pairs - Perl module that provides routines to convert from a MARC::Record object to a Data::Pairs structure and back.

The resulting structure may be serialized, e.g., as JSON or YAML.

SEE ALSO

MARC::Record Data::Pairs

AUTHOR

Brad Baxter, <bbaxter@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 by Brad Baxter

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.