Re: Deleting a subfield using MARC::Record

[email protected] (Mark Jordan)
Newsgroups perl.perl4lib
Message-ID <[email protected]>
Brad Baxter wrote:
> On 5/3/06, Michael Kreyche <[email protected]> wrote:
>>
>> The term "position" ("pos") seems a little ambiguous to me on the face
>> of it. Does (code => 'u', pos => 0) mean "the first subfield u" (which
>> is what  I take it to mean) or "subfield u if it's the first subfield"
>> (which it might sound like outside the context of this discussion)?
> 
> I had the same thought.  To me, 'occur' has a clearer meaning in
> that context, "the zeroth occurrence of subfield 'u'", while 'pos' has
> more of the ambiguity described above.  So of the two, I'd prefer
> 'occur', but I can live with 'pos'.  Synonyms perhaps?  (Unless someone
> has a need to delete the third subfield regardless of code?  I never
> have, so perhaps not.)
> 
> -- 
> Brad

I think it should mean "the zeroth occurrence of subfield 'u'", since 
specifying which of a repeated group of subfields is a realistic task, 
as you say. For example, each record has two 'u's but all of the first 
ones are garbage.

Mark

-- 
Mark Jordan
Head of Library Systems
W.A.C. Bennett Library, Simon Fraser University
Burnaby, British Columbia, V5A 1S6, Canada
Phone (604) 291 5753 / Fax (604) 291 3023
[email protected] / http://www.sfu.ca/~mjordan/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.