On Mon, Aug 21, 2000 at 09:09:01AM -0700, Larry Wall wrote:
> Randal L. Schwartz writes:
> :         if ($a == $b) { ... } # should this be string or number comparison?
> 
> Actually, it's a syntax error, because of the ... there.  :-)
> 
> But that reminds me of something I wanted a few months ago.
> 
> I'd entertain a proposal that ... be made a valid term that happens
> to do nothing, so that you can run your examples through perl -c for
> syntax checks.  Or better, make it an official "stub" for rapid
> prototyping, with some way of getting a warning whenever you execute
> such a stub.

Just to clarify, you're proposing that ellipsis do this in void
context only, right?  I kind of like the existing ... operator just
the way it is (unless it has changed behind my back).

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to