Eric Brine wrote: >Actually, it does. It's the very definition of an expression. Not in Perl. We're concerned here with the *syntactic* distinction between statements and expressions, and in that sense "if" is currently only a statement. In the semantic sense of returning a value, however, Perl is an everything's-an-expression language. The op tree doesn't strongly distinguish between statements and expressions; the same op type is used for if-statement and ?:. Perl statements always return values (though those values are usually discarded). -zeframThread Previous | Thread Next