Re: Deleting a subfield using MARC::Record

2006-05-01 Thread Mark Jordan
Edward Summers wrote: On Apr 29, 2006, at 10:31 AM, Mark Jordan wrote: Maybe other people should verify the usefulness of a delete subfield function before anyone does anything about it, though. Would a half dozen +1 votes from perl4libers validate its usefulness? Yes it would...but to get

RE: Deleting a subfield using MARC::Record

2006-05-01 Thread Bryan Baldus
>OK -- here's the call for a vote. All interested perl4lib members are >encouraged to participate by emailing the list. +1 Bryan Baldus [EMAIL PROTECTED] [EMAIL PROTECTED] http://home.inwave.com/eija

Re: Deleting a subfield using MARC::Record

2006-05-01 Thread Mark Jordan
+1 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/

Re: Deleting a subfield using MARC::Record

2006-05-01 Thread Edward Summers
+1 :-) //Ed

Re: Deleting a subfield using MARC::Record

2006-05-01 Thread Gary Bertchume
+1 //Gary -- === Gary Bertchume Library Systems Analyst Columbia University Libraries 212 854-8582 [EMAIL PROTECTED] ===

Re: Deleting a subfield using MARC::Record

2006-05-01 Thread Brad Baxter
+1 But I have some questions: On 4/30/06, Edward Summers <[EMAIL PROTECTED]> wrote: [snip] So effectively there is AND boolean logic between any options that are supplied. If this looks good I've got some code that does it and some tests committed in SourceForge for you to take a look at [1]. I

RE: Deleting a subfield using MARC::Record

2006-05-01 Thread Bryan Baldus
On Monday, May 01, 2006 1:24 PM, Brad Baxter wrote: >On 4/30/06, Edward Summers <[EMAIL PROTECTED]> wrote: >[snip] >> # delete first two subfield u >> $field->delete_subfield(code => 'u', count => 2); > >I don't think I like it this way. How would you delete just >the second one? >I'd rather see

Re: Deleting a subfield using MARC::Record

2006-05-01 Thread Brad Baxter
On 5/1/06, Bryan Baldus <[EMAIL PROTECTED]> wrote: On Monday, May 01, 2006 1:24 PM, Brad Baxter wrote: >On 4/30/06, Edward Summers <[EMAIL PROTECTED]> wrote: >[snip] >> # delete first two subfield u >> $field->delete_subfield(code => 'u', count => 2); > >I don't think I like it this way. How wou

Re: Deleting a subfield using MARC::Record

2006-05-01 Thread Edward Summers
On May 1, 2006, at 1:24 PM, Brad Baxter wrote: # delete first two subfield u $field->delete_subfield(code => 'u', count => 2); I don't think I like it this way. How would you delete just the second one? I'd rather see 'count' mean 'occurrence', so the above would mean delete the second sub

Re: Deleting a subfield using MARC::Record

2006-05-01 Thread Leif Andersson
+1 "count" can possibly be complemented or replaced with occurrence as suggested. It'd be nice to be able to denote last occurrence [-1]. And I suppose the indexing should be based on ordinary perl subscript indexing - i.e. governed by the value of special variable $[ $field->delete_subfield( co