Masem wrote:
@array = grep { $_ ne '' } @array;Wow, you can't improve on perfection, very cute. Long-handed its an easy problem, but clumsy because this is succinct and cute...
In reply to Re^2: Removing empty string elements from an Array
by Abbot Michael
in thread Removing empty string elements from an Array
by Spliter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |