OK, i've a BIG problem with record leader.
Joshua makes me discover that MARC::Record didn't set anything in the record leader !
I think he could (or there's smth I don't understand)
pos 0-4 are "record length" => they could be calculated no ?
pos10 is always 2
pos 12-16 should be calculated too


(notes i speak here of UNIMARC. loc is down at the moment, but i think leaders are the same in marc21 and in unimarc)

So my question :
Am I wrong or could we add $record->ldrcalc() to MARC::Record that calculates the leader (for calculable digits) and returns it ?
We could use $record->leader($record->ldrcalc());


--
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)




Reply via email to