On Tue, 29 Jun 2004 10:52:31 -0400, Jonadab The Unsightly One <[EMAIL PROTECTED]> wrote:

People who think in terms of "statements" often get mixed up when they
put complex expressions in void context, expecting them to be treated
as statements.  print(2+3)*7; is another example.  Perl doesn't have
"statements" in the same sense that Pascal does.  It has expressions.

hm.. still it have modifers like postfix C<for>, C<while>, C<if> etc., which are statement ones, not expression..

hm.. just consider all the mess(and fun!) if all the control structures and modfiers would become ordinary expressions.. but it's a perl, not lisp or haskel or whatever..

Reply via email to