Think about Loose Coupling | |
PerlMonks |
Re^2: Removing empty string elements from an Arrayby Abbot Michael (Initiate) |
on Mar 08, 2019 at 15:35 UTC ( [id://1231058]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|