develooper Front page | perl.perl6.language | Postings from November 2002

Re: String concatentation operator

Thread Previous | Thread Next
From:
Ken Fox
Date:
November 14, 2002 06:32
Subject:
Re: String concatentation operator
Message ID:
3DD3B48F.7010102@vulpes.com
Andy Wardley wrote:

> Can we overload + in Perl 6 to work as both numeric addition
> and string concatenation ...

Isn't there some nifty Unicode operator perl6 could enlist? ;)

How about concatenating adjacent operands? ANSI C does this
with string constants and it works very well. It would become
one of those great Perl sound bites too: the community
couldn't decide on the operator, so perl6 left it out.

- Ken


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About