in reply to why doesn't this infinite loop work?

well, without knowing what "do test" does, it's hard to answer. First shot in the dark says "do test" does something that never returns.

Unless you mean it's literally what you wrote there, which is a syntax error.

-- Dan

Replies are listed 'Best First'.
Re: Re: infinite loop
by Anonymous Monk on Sep 27, 2002 at 10:17 UTC
    Sorry, I'd forgotten to use $|++ prior to starting the loop. Cheers