Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Concise foreach expressionby LanX (Saint) |
on Aug 29, 2014 at 13:01 UTC ( [id://1098992]=note: print w/replies, xml ) | Need Help?? |
> map { /test$/ and say } @names; variation: /test$/ and say for @names; ( of course always with use feature 'say';)
Cheers Rolf (addicted to the Perl Programming Language and ☆☆☆☆ :)
In Section
Seekers of Perl Wisdom
|
|