in reply to Should perl implement ,= or maybe overload .= (array context)
To me, making .= do array concat seems rather off, for similar reasons to + not doing string concat. It's just not the right operator for the job. ,= is rather more interesting, but I don't really see a reason to introduce it; push @foo, @bar works just like you'd propose @foo ,= @bar to do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Should perl implement ,= or maybe overload .= (array context)
by EvanCarroll (Chaplain) on Aug 23, 2006 at 18:47 UTC | |
by TimToady (Parson) on Aug 23, 2006 at 19:31 UTC |