in reply to This is odd.

Your commas delimit the elements of a list, which are printed, one after another. In your use of the commas, the precendence is respected in a way that it does what you mean here. everything between the commas is a single element of the list or array, and must be evaluated itself, before the list is put together. That is different that the dot concatenation string operator.

-- Hugh

if( $lal && $lol ) { $life++; }

Replies are listed 'Best First'.
Re^2: This is odd.
by JDelmoso (Novice) on May 23, 2008 at 06:18 UTC
    Ooh, excellent. Thanks so much.