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
>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
+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/
+1
:-)
//Ed
+1
//Gary
--
===
Gary Bertchume
Library Systems Analyst
Columbia University Libraries
212 854-8582
[EMAIL PROTECTED]
===
+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
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
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
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
+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
10 matches
Mail list logo