in reply to Re: infinite loop on while (@array)
in thread infinite loop on while (@array)
If you need a real infinite loop, then this one could suit you better:
Or the expressionless C-style loop. (The while(1) loop will be converted into it to optimize, so why not type it yourself?) They're a nice visual way to say: this is infinite, while while(1) and while(0) don't differ a lot.
for (;;) { # ... }
U28geW91IGNhbiBhbGwgcm90MTMgY
W5kIHBhY2soKS4gQnV0IGRvIHlvdS
ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
geW91IHNlZSBpdD8gIC0tIEp1ZXJk
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: infinite loop on while (@array)
by demerphq (Chancellor) on Mar 27, 2002 at 10:43 UTC | |
by Kanji (Parson) on Mar 27, 2002 at 14:33 UTC | |
by demerphq (Chancellor) on Mar 27, 2002 at 15:21 UTC | |
by Juerd (Abbot) on Mar 27, 2002 at 15:16 UTC | |
by demerphq (Chancellor) on Mar 27, 2002 at 15:40 UTC |