in reply to looking for a good idiom: return this if this is true

T'aint pretty.

... { return do{ thatroutine() or last } } ...

Examine what is said, not who speaks.
Silence betokens consent.
Love the truth but pardon error.

Replies are listed 'Best First'.
Re^2: looking for a good idiom: return this if this is true
by itub (Priest) on Mar 05, 2005 at 19:00 UTC
    You don't need the do:

    { return thatroutine() || last }