What's wrong with do {}? (Added typing?)

<chaim>

>>>>> "RLS" == Randal L Schwartz <[EMAIL PROTECTED]> writes:

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

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

RLS> Very handy.


-- 
Chaim Frenkel                                        Nonlinear Knowledge, Inc.
[EMAIL PROTECTED]                                               +1-718-236-0183

Reply via email to