in reply to Re: Merge 2 strings like a zip
in thread Merge 2 strings like a zip
Hello 1nickt,
As a cleaner alternative to:
no warnings qw/ uninitialized /; print zip @a1, @a2; use warnings;
you can just filter the list returned by zip:
print grep { defined } zip @a1, @a2;
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
|---|