Just another Perl shrine | |
PerlMonks |
Multiple foreach loops in single statementby gurpreetsingh13 (Scribe) |
on Oct 23, 2012 at 16:29 UTC ( [id://1000497]=perlquestion: print w/replies, xml ) | Need Help?? |
gurpreetsingh13 has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
Need a little help. Was just trying to figure out how can we have more than one foreach loop at the end of statement instead of a nested foreach.
Working code:
This also works. But this one fails. Tried to search for something similar but couldn't find out. Thanks in advance
Back to
Seekers of Perl Wisdom
|
|