Ingo Blechschmidt skribis 2005-09-09 15:12 (+0200):
> I agree that the comma operator creates an anonymous array, but I do not
> agree that it behaves as if it has [] around it.
> Creating an anonymous array does not require creating new containers --

So comma in scalar context creates an array of aliases? That would be a
welcome difference.

> should change $bar to $baz (you reminded me of this property of
> &infix:<,> in

Infix? Infix operators are binary, comma is not.

> > I think the comma operator in scalar context should not create arrays,

Provided the new insight about comma creating an array of aliases rather
than copies, I retract this.


Reply via email to