>>>>> "MC" == Mark Cogan <[EMAIL PROTECTED]> writes:

MC> What should:
MC> @a = defined @a;
MC> return?

Counter example:        @a = \($a, $b, $c);

(Not really a full fledged counter example since it is a liter list.)

>> Treating || as a special case is asking for trouble. If you want a flow
>> control statement, use one:
>> 
>> @result = @b unless @result = @a;

MC> || may be a suboptimal example, but I think the idea that a @-variable 
MC> without an iteration function refers to the array as a whole, and not its 
MC> elements is an intuitive one, and having array iteration magically happen 
MC> when you're not looking is dangerous.

Not unless you are coming from a math background or are an old basic 
programmer, and would like to have matrix operations built in.

<chaim>
-- 
Chaim Frenkel                                        Nonlinear Knowledge, Inc.
[EMAIL PROTECTED]                                               +1-718-236-0183

Reply via email to