in reply to Re: Could someone please explain this to me in newbie terms :)
in thread Could someone please explain this to me in newbie terms :)

To be explicit, $z = $y && $x / $y; construct assigns the value of $y to $z, not necessarily a zero unlike $z = $y ? $x / $y : 0;.

Replies are listed 'Best First'.
Re^3: Could someone please explain this to me in newbie terms :)
by Anonymous Monk on Aug 08, 2009 at 09:47 UTC
    ... when $y evaluates to a false truth value.