NAME

Net::Z3950::DBIServer::MARC - build MARC records for DBIServer

SYNOPSIS

        $rec = Net::Z3950::DBIServer::MARC::format(
                { title=>'Mr', forename=>'Eric', surname=>'1/2 Bee' },
                $config);

DESCRIPTION

This non-OO module exists only to provide a single function which formats a set of fields as a MARC record.

METHODS

format()

        $rec = Net::Z3950::DBIServer::MARC::format($hashref, $config);

Creates and returns, as an unblessed string, a new MARC record containing the specified fields according to the configuration specified in the database-and-record-syntax-specific configuration segment $config, of type Net::Z3950::DBIServer::Config::XMLSpec.

AUTHOR

Mike Taylor <mike@miketaylor.org.uk>

First version Thursdat 11th November 2004.

SEE ALSO

Net::Z3950::DBIServer is the module that uses this.