On Wed, Dec 3, 2008 at 3:42 PM,  <[EMAIL PROTECTED]> wrote:
> loop {
>    doSomething();
> next if someCondition();
>    doSomethingElse();
> }

That loops forever, doesn't it?   But I think this works:

loop
{
   doSomething();
   last unless someCondition();
   doSomethingElse();
}

--
Mark J. Reed <[EMAIL PROTECTED]>

Reply via email to