---
name: "Catmandu::Fix::marc_remove"
section: "3pm"
platform: "linux"
package: "libcatmandu-marc-perl"
version: "1.320-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catmandu::Fix::marc_remove"
---

# Catmandu::Fix::marc\_remove(3pm)

remove marc (sub)fields

## NAME

Catmandu::Fix::marc\_remove - remove marc (sub)fields

## SYNOPSIS

```
    # remove all marc 600 fields
    marc_remove('600')
    # remove the 245-a subfield
    marc_remove('245a')
```

## DESCRIPTION

Remove (sub)fields in a MARC record

## METHODS

### marc\_remove(MARC\_PATH)

Delete the (sub)fields from the MARC record as indicated by the MARC\_PATH.

## INLINE

This Fix can be used inline in a Perl script:

```
    use Catmandu::Fix::marc_remove as => 'marc_remove';
    my $data = { record => [...] };
    $data = marc_remove($data,'600');
```

## SEE ALSO

Catmandu::Fix::marc\_add, Catmandu::Fix::marc\_copy, Catmandu::Fix::marc\_cut, Catmandu::Fix::marc\_paste, Catmandu::Fix::marc\_set
