in reply to removing the goto
I know you've gotten lots of answers, but (without getting into what you were trying to do) couldn't the "goto xyz" be replaced with "last"? That should take you to the end of the "foreach $j ...." loop and back to the "foreach $i" loop. Then get rid of the xyz label?
-- Carmen
Re^2: removing the goto
by shmem (Chancellor) on Jun 04, 2007 at 19:25 UTC
|
A 'last' would resume the loop and advance the foreach-iterator. I guess that's what the OP wanted
to avoid by placing the goto-label... hence the 'redo'. :-)
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
| [reply] |
|