Re: MARC::Record insert function

2003-11-06 Thread Ed Summers
On Thu, Nov 06, 2003 at 10:32:51AM +0100, Ron Davies wrote: > I think the documentation would be clearer if it said that after the > discussion most people wanted the ability to add a new field to the end of > the hundred group where it belonged. The reason is that according to the > MARC format

Re: MARC::Record insert function

2003-11-06 Thread Robert Fox
Ron et. al.- On the issue of alpha and numeric tags, I know that alpha values in tags have been permitted in the MARC standard for a long time, and applaud the fact that MARC::Record allows for it, but has anyone actually seen one used? In some later revision of UNIMARC or one of the national s

Re: MARC::Record insert function

2003-11-06 Thread Colin Campbell
On Thu, Nov 06, 2003 at 10:32:51AM +0100, Ron Davies <[EMAIL PROTECTED]> wrote: > > The reason is that according to the > MARC format, fields within a record are supposed to be grouped by block > (hundred groups). That means that fields may not necessarily be in tag order. > > It's true a 001 w

Re: MARC::Record insert function

2003-11-06 Thread Ron Davies
At 19:29 5/11/2003, Leif Andersson wrote: The documentation says that after a discussion (which I have not been able to find any trace of) on this list it seemed most people wanted to add a new field to the end of the hundred group it belongs to! This sounds very peculiar to me. If I want to add

Re: MARC::Record insert function

2003-11-05 Thread Ed Summers
On Wed, Nov 05, 2003 at 08:29:56PM +0100, Leif Andersson wrote: > Am I missing something? > I can not find this in MARC::Record No, you are correct. It was vaporware until a few moments ago :) If you get v1.32 from SourceForge [1] you'll find the new method insert_fields_ordered(). Like you said i

RE: MARC::Record insert function

2003-11-05 Thread Leif Andersson
Am I missing something? I can not find this in MARC::Record Leif -Ursprungligt meddelande- Från: Ed Summers [mailto:[EMAIL PROTECTED] Skickat: den 5 november 2003 19:58 Till: [EMAIL PROTECTED] Ämne: Re: MARC::Record insert function On Wed, Nov 05, 2003 at 07:29:59PM +0100, Leif

Re: MARC::Record insert function

2003-11-05 Thread Ed Summers
On Wed, Nov 05, 2003 at 07:29:59PM +0100, Leif Andersson wrote: > Even if it, as it stands, only is intended for MARC21 records, I still think > it would be nice to have an insert method like the one above. How about: $rec->insert_fields_ordered( @fields ); //Ed

MARC::Record insert function

2003-11-05 Thread Leif Andersson
MARC::Record has three functions (or methods) for inserting a field. insert_grouped_field(field) insert_fields_before($before_field,@new_fields) insert_fields_after($after_field,@new_fields) There is some inconsistency in the implementation of field handling, and also some inconvenience in us