in reply to What is the difference between a Statement and an Expression?
For example, 1+1 is a statement; however, in $x=1+1, the addition is an expression. The entire line is a statement(unless it's part of something bigger, like if($x=1+1) {}.
At least that's the way I think of them. Other people's thoughts may differ from mine.
=cut
--Brent Dax
There is no sig.
|
---|