>>>>> "Larry" == Larry Wall <[EMAIL PROTECTED]> writes:

Larry> Randal L. Schwartz writes:
Larry> :         if ($a == $b) { ... } # should this be string or number comparison?

Larry> Actually, it's a syntax error, because of the ... there.  :-)

Larry> But that reminds me of something I wanted a few months ago.

Larry> I'd entertain a proposal that ... be made a valid term that happens
Larry> to do nothing, so that you can run your examples through perl -c for
Larry> syntax checks.  Or better, make it an official "stub" for rapid
Larry> prototyping, with some way of getting a warning whenever you execute
Larry> such a stub.

I've always wished it was the famous "do what I mean" operator:

        if ($a eq "input") {
          ... # let perl figure out what to do here
        } else {
          print "I need more input!\n";
        }

That'd make "rapid application development" truly possible.

perl -e '...' # all programs here

Maybe we can code it up with "Quantum::Superpositions::any"?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to