> > These are all expressions: > 1 > 1 + 2 > $x * 2 > foo(1,2,3) + 49 > (1,2) x 2 > $x == $y > $x < 5 > $x > 1 && $x < 5 > but even this is an expression: > $x = $y + 2 > > Basicaly "expression" is something that creates a value that you can > assign to a variable, pass to a function or use as a condition. > > This means that > $x = $y + 2 > IS an expression, but > $x = $y + 2; > IS NOT! It's a statement. >
With this, I'll have a question again =) how about : for (my $x = 0; $x <= 100; $x++){} ? In every loop, $x return the value to the middle, and the middle design to roll another loop or not. It is doing something similar to if then else, but it also returning vals and condition signals... So.... what is this ? And when I write as for (0..100){} there is quite no difference, still an invisible $x, as $_... so...sorry, dunno how to ask.. =) Rgds, Connie -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]