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

Catmandu::Fix::compact - remove undefined values from an array

   # list => [undef,"hello",undef,"world"]
   compact(list)
   # list => ["Hello","world"]

Catmandu::Fix

2023-03-03 perl v5.36.0