Replace
if(!$element){ next; } else{ #fill the body $tb->load([$element]); }
with
$tb->load([$element]) if (defined $element and length $element);
In reply to Re: purge Text::Table empty columns
by thundergnat
in thread purge Text::Table empty columns
by biohisham
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |