On Apr 28, 2006, at 8:20 PM, Michael Kreyche wrote:
my $new856f = MARC::Field->new('856',$i1,$i2,@new856s);
$field->replace_with($new856f);

If there's an easier way, I'd like to know!

Creating a new field and replacing the old one with the new one is the way to go. Deleting subfields is a bit tricky since subfields may repeat, and sometimes people just want to delete one of them. An unfortunate state of affairs perhaps. If someone can suggest an easier API for doing this I'm open to suggestions :-)

//Ed

Reply via email to