while(1) { ... } # why while? 1 never can get false for(;;) { ... } # just for nothing? do { ... } until $cond; # bad practice as per PBP? { ... redo unless $cond } # (fill in your complaint :-) uh-oh. "unless +"!
--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}
In reply to Re: Using REDO in Subroutine, need better way?
by shmem
in thread Using REDO in Subroutine, need better way?
by awohld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |