KEVIN ZEMBOWER a écrit :
My ultimate goal is to import them into Koha to manage the collection.
good goal ;-)
Can anyone help me out with a way of doing this efficiently? Thanks for your
advice and suggestions.
You should do this in 2 steps :
my $newRecord = MARC::Record->new(); # 1st to create the record
$newField = MARC::Field->new( # 2nd to create the field
'011','','',
'a' => $resul{ISSN},
);
# to happend the record to the field.
$newRecord->insert_fields_ordered($newField);
If you have empty values, just say 'a' => "".$resul{ISSN}
(Perl dislike a lot hashes with empty values)
when you will bulkmarcimport your biblio in Koha, empty subfields will
be ignored, so don't bother ;-)
HTH
--
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)