$obj->removeElement( $relation, @item[s] );

Removes the specified items from an object relationship.

One or more items can be specified to be removed.

 $obj->removeElement( "ComposedOf",
    "Interface::IF-ether1", 
    "Interface::Loopback/0" );
 $obj->removeElement( "ComposedOf", @interfaces );