"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

Reply via email to