> | 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: Sane "+" string concat proposal Casey West
- Re: Sane "+" string concat proposal Stephen P. Potter
- Re: Sane "+" string concat proposal Austin Hastings
- Re: Sane "+" string concat proposal jc vazquez
- 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 proposal Dan Brian
- Re: Sane "+" string concat proposal Nathan Wiger
- Re: Sane "+" string concat proposal Stephen P. Potter
- Re: Sane "+" string concat proposal Dan Brian
- Re: Sane "+" string concat proposal Nathan Wiger
- Re: Sane "+" string concat proposal Dan Sugalski
- 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 proposal Bart Lateur