Re: Deleting a subfield using MARC::Record

2006-05-03 Thread Michael Kreyche
d() :-) I guess you do or else you wouldn't be so interested in asking for it. Well, maybe this IS getting a little out of hand! I could live with the old-fashioned way myself. Being a newbie to the list I was surprised how fast you jumped in and provided the new functionality. Mike -- Mic

Re: Deleting a subfield using MARC::Record

2006-05-03 Thread Michael Kreyche
t; 'u', match => qr/zombo.com/); 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

Re: Deleting a subfield using MARC::Record

2006-04-29 Thread Michael Kreyche
Edward Summers wrote: That could work if subfields were objects, but they're just strings. It could simply delete all of them unless a second parameter is passed in, which would basically act like a filter: $field->delete_subfield('a', qr/badsubject/); That sounds pretty good, though I'm wo

Re: Deleting a subfield using MARC::Record

2006-04-28 Thread Michael Kreyche
If there's an easier way, I'd like to know! Mike -- Michael Kreyche Systems Librarian Associate Professor Kent State University Libraries and Media Services http://www.personal.kent.edu/~mkreyche 330-672-1918