Perl-Sensitive Sunglasses | |
PerlMonks |
Re: loop array excluding some elementsby Anonymous Monk |
on Mar 09, 2018 at 14:08 UTC ( [id://1210566]=note: print w/replies, xml ) | Need Help?? |
I don't mind at all using loops, and the next and last verbs work quite well here. You can even use some verbiage that's fairly peculiar to perl, such as: next unless ($_ == 0);
In Section
Seekers of Perl Wisdom
|
|