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.
Larry
- Do we really need eq? Ed Mills
- Re: Do we really need eq? Nathan Torkington
- Re: Do we really need eq? Spider Boardman
- Re: Do we really need eq? Randal L. Schwartz
- Re: ... as a term Larry Wall
- Re: ... as a term Randal L. Schwartz
- Re: ... as a term Nathan Torkington
- Re: ... as a term skud
- Re: ... as a term Damian Conway
- Re: ... as a term John Porter
- Re: ... as a term Jarkko Hietaniemi
- Re: ... as a term Damian Conway
- Re: ... as a term Larry Wall
- Re: ... as a term Jonathan Scott Duff
- Re: ... as a term John Porter
