in reply to Re: Oddness with lvalue and if/else blocks
in thread Oddness with lvalue and if/else blocks

Note that there is subtlety involved. According to -MO=Deparse,-x7 the compiler does turn his if/else construct into something pretty close to

$_[0] ? do { $bar } : do { $baz }

where the do-blocks are B::Deparse's way of explaining the world more so than they really exist.

That's obviously not ultimately the same as an explicit ternary, though.

Makeshifts last the longest.