LA.pm: Loop

Robert Spier rspier at pobox.com
Mon Jul 23 12:16:25 CDT 2001


You don't really want ALL of the alternatives.

How about:

	1 while ( cond );

But really,
	there's nothing wrong with

	while( cond ) {};

	it's very clear what you mean there.

-R

Quoting Arkadiy Sudarikov <asudarikov at xceed.com>:

> Hi peeps.
> 
> If I want to loop something but really not do anything, just loop, what
> are
> ALL of my alternatives?
> 
> See, check checkes something on the system, and can return true or
> false.
> So, if I want it to try to check until I get it, how do I loop, with
> no
> output, just loop?
> 
> while (system 'check') {} -- seems silly =o)
> 
> 



More information about the Losangeles-pm mailing list