Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: loop array excluding some elementsby karthiknix (Sexton) |
on Mar 09, 2018 at 10:00 UTC ( [id://1210556]=note: print w/replies, xml ) | Need Help?? |
you can use map function in PERL to do a one line parsing of array. Below is an example which is similar to you code and you can extend to what ever you want to add in the if loop.
In Section
Seekers of Perl Wisdom
|
|