Hi Paul,

<quote who="paul POULAIN">
> (notes i speak here of UNIMARC. loc is down at the moment, but i think
> leaders are the same in marc21 and in unimarc)

Since LoC is still down you can refer to
http://search.cpan.org/src/PETDANCE/MARC-Record-1.29/etc/ecbdlist.html

> 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());

I never had to worry about the record_length (pos 00-04) or the
base_address (pos 12-16) in the leader.  I think they are automagically
updated while writing the record via $rec->as_usmarc().

Regards,
Saiful
Indian School of Business
Hyderabad. India
Ph. +91-40-2318-7963/7999
http://purl.org/net/saiful


Reply via email to