Adam Turoff on Tue, 7 Mar 2000 20:55:51 -0500 (EST) |
Forwarded message: > From: abigail@delanet.com > Date: Tue, 7 Mar 2000 20:53:08 -0500 > To: mjd-perl-pm@plover.com > Cc: phl@lists.pm.org, abigail@delanet.com > Subject: Re: Funky code thing (index-rindex) (fwd) > Reply-To: abigail@delanet.com > > On Tue, Mar 07, 2000 at 08:10:37PM -0500, mjd-perl-pm@plover.com wrote: > > > > > > > 3. while ('true') { ... } > > > > > > > > > > Idiomatic or idiotic? > > > > > > > > My first reaction was "cute", immediately followed by "but it means the > > > > same as: while ('false') { ... }". Perhaps not a good idea. > > > > Point taken. But I think you meant to say > > > > until ('false') { ... } > > No, I didn't mean to say that. My point wasn't so much the loop > construct, but the fact that both strings 'true' and 'false' have > the same truth value. > > > Abigail > **Majordomo list services provided by PANIX <URL:http://www.panix.com>** **To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**
|
|