"Stephen P. Potter" wrote: > > | In Perl 6, you would do this like so: > | > | $string3 = "$string1" + "$string2"; > > Once you go this route, you've pretty much destroyed the usefulness of > having a concat operator. It is far less typing to do > > $string3 = "$string1$string2"; Agreed. The point wasn't to get rid of that usage by any means, but rather to propose an alternative to "." since that will likely get gobbled up as a replacement for ->. The only reason you'd have to use the op form of a string concat is when you have to add stuff in that isn't evaluated inside quotes, like funcs. -Nate
- Re: Sane "+" string concat proposal Mark Koopman
- Re: Sane "+" string concat proposal Michael G Schwern
- Re: Sane "+" string concat proposal Casey West
- Re: Sane "+" string concat proposal Stephen P. Potter
- 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