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

# Catmandu::Fix::vacuum(3pm)

delete all empty fields from your data

## NAME

Catmandu::Fix::vacuum - delete all empty fields from your data

## SYNOPSIS

```
   # Delete all the empty fields
   #
   # input:
   #
   # foo: ''
   # bar: []
   # relations: {}
   # test: 123
   #
   vacuum()

   # output:
   #
   # test: 123
   #
```

## SEE ALSO

Catmandu::Fix
