Re: MARC::Record leader

2003-09-19 Thread Ed Summers
On Fri, Sep 19, 2003 at 07:58:01PM +0530, Saiful Amin wrote: 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(). saiful++ Yes, they should be

Re: MARC::Record leader

2003-09-11 Thread Ed Summers
On Thu, Sep 11, 2003 at 08:40:48AM -0500, Chuck Bearden wrote: I hope this helps. This helps for the order of the fields, but from looking at his program it looks like the more pernicious problem is the order of the subfields within each field! //Ed

MARC::Record leader

2003-09-10 Thread Joshua Ferraro
Hello everyone, I am new to this list. I'm also very new to Perl so please bear with me:-). I am working on a Z3950 Server for my library (which is using Koha for ILS) and I am having trouble generating MARC records using MARC::Record. I am generatingthe records from a MySQL database and I

Re: MARC::Record leader

2003-09-10 Thread Ed Summers
On Wed, Sep 10, 2003 at 01:57:31PM -0400, Joshua Ferraro wrote: sub fetch_handler { my ($args) = @_; # warn in fetch_handler; ## troubleshooting my $offset = $args-{OFFSET}; $offset -= 1; ## because $args-{OFFSET} 1 = record #1