> | Under what I originally posted: > | > | $a += "$b"; # string > | $a += $b; # numeric > > You still haven't given a good explanation of > > $a += sub(); # is it a string or a number? The quotes don't work. Anything but the most basic statement introduces way more ambiguity than we should be comfortable with. And the idea that <" +> should be interpreted by the parser as an op, well, doesn't work. At all.
- Re: how about just juxtaposing? (R... Michael G Schwern
- Re: Sane "+" string concat proposal Stephen P. Potter
- Re: Sane "+" string concat proposal Nathan Wiger
- Re: Sane "+" string concat proposal Dan Brian
- Re: Sane "+" string concat proposal John Porter
- Re: Sane "+" string concat proposal Austin Hastings
- Re: Sane "+" string concat proposal Michael G Schwern
- Re: Sane "+" string concat proposal Casey West
- Re: Sane "+" string concat proposal Nathan Wiger
- Re: Sane "+" string concat propos... Stephen P. Potter
- Re: Sane "+" string concat pr... Dan Brian
- Re: Sane "+" string concat pr... Nathan Wiger
- Re: Sane "+" string conc... Dan Sugalski
- Re: Sane "+" string concat proposal jc vazquez
- recap on new operators? Dave Storrs
- Re: Sane "+" string concat proposal Simon Cozens
- Re: Sane "+" string concat proposal Bart Lateur
- Re: Sane "+" string concat proposal Stephen P. Potter
- Re: Sane "+" string concat propos... Bart Lateur