Jackie Shieh at Univ of Michigan thought it would be handy to have a
delete_subfields() method on MARC::Field objects. Basically the
method takes a list of subfields to delete, and deletes each one,
returning the total subfields that were removed. If a subfield
repeats all of them are deleted.
$field->delete_subfields( 'z' );
I've committed the new method and a few tests to SourceForge if
anyone is interested in taking a look. [1]
//Ed
[1] http://prdownloads.sourceforge.net/marcpm/MARC-Record-1.4.tar.gz