DOKK / manpages / debian 12 / libcatmandu-perl / Catmandu::Fix::vacuum.3pm.en
Catmandu::Fix::vacuum(3pm) User Contributed Perl Documentation Catmandu::Fix::vacuum(3pm)

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

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

Catmandu::Fix

2023-03-03 perl v5.36.0