>>>>> "Bart" == Bart Lateur <[EMAIL PROTECTED]> writes:
Bart> On 02 Aug 2000 16:42:35 -0700, Randal L. Schwartz wrote:
Steve> We could add a 'then' keyword.
>>
>> We have one. It's called "comma in a scalar context". :)
Bart> Now do the same with a print command.
print("This stuff gets"," printed", "\n"), return 3
if $some_condition;
or even:
(print "This stuff gets"," printed", "\n"), return 3
if $some_condition;
Bart> Aren't you trying to hard leaning backwards?
Nope. Sometimes my brain prefers the EXPR if EXPR form because of
the much smaller punctuation footprint. Removing the comma
doesn't seem to serve anything but making Perl less powerful, and
not confusing Chaim quite as often.
--
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!