>>>>> "Martyn" == Martyn Pearce <[EMAIL PROTECTED]> writes:

Martyn> Possibly, although I must ask: since everything is up-for-grabs, I ask
Martyn> (without implying any feeling one-way-or-tother):
Martyn> How useful is the , operator in it's C-style statement separator, as
Martyn> opposed to list separator guise?  It seems to be a common cause of
Martyn> confusion.

I use it a lot, in places where I want two expressions executed,
especially as one part of "EXPR while EXPR" or "EXPR if EXPR".
Yeah, I could use a do-block on either side, but then I might
as well go to a full while statement.

   warn("too much information"), return 3 if $some_condition;

Very handy.

-- 
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