more useful options | |
PerlMonks |
Re: Multiple foreach loops in single statementby ikegami (Patriarch) |
on Oct 23, 2012 at 16:40 UTC ( [id://1000499]=note: print w/replies, xml ) | Need Help?? |
Statement modifiers are not nestable. But since is legal, so is
But for readability's sake, just don't do that! Especially since
and
have different semantics. A functional language approach would probably achieve what you want better.
(Yeah, the outer loop is useless, as you can see.)
In Section
Seekers of Perl Wisdom
|
|