Nkuipers wrote: > The following is from page 75 in the Camel: > > "List assignment in scalar context returns the number of elements produced > by the expression on the <i>right</i> side of the assignment: > > $x = ( ($a, $b) = (7,7,7) ); #set $x to 3, not 2 >
can you guess what $x is now: $x = ($a,$b) = (7,7,7); make sense now right? :-) if still doesn't make sense, it's time to check the associativity of the '=' operator. yes, i know nowaday no one is mentioning that anymore :-) david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]