On Thu 14 Nov, Michael G Schwern wrote:
> On Thu, Nov 14, 2002 at 12:19:47PM +0000, Andy Wardley wrote:
> > Can we overload + in Perl 6 to work as both numeric addition
> > and string concatenation, depending on the type of the operand 
> > on the left?

There have been times when I have wondered if string concatination could be
done without any operator at all.  Simply the placement of two things
next to each other as in $foo $bar or $foo$bar would silently concatenate
them.  But then I feel there are some deep horrors and ambiguities that
I have failed to spot...

Richard

-- 
Personal     [EMAIL PROTECTED]            http://www.waveney.org
Telecoms     [EMAIL PROTECTED]  http://www.WaveneyConsulting.com
Web services [EMAIL PROTECTED]            http://www.wavwebs.com
Independent Telecomms Specialist, ATM expert, Web Analyst & Services

Reply via email to