laziness, impatience, and hubris | |
PerlMonks |
using next in a nested foreach()by sandrider (Acolyte) |
on Aug 16, 2005 at 00:57 UTC ( [id://484035]=perlquestion: print w/replies, xml ) | Need Help?? |
sandrider has asked for the wisdom of the Perl Monks concerning the following question:
Dear monks,
I have this nested foreach loop
I need the script to go to the parent foreach loop when $two eq $1, I've tried putting next in the if but it just goes to the next field in the child foreach. Thanks. Desmond
Back to
Seekers of Perl Wisdom
|
|