[Python-Dev] Parrot -- should life imitate satire?

David Ascher DavidA@ActiveState.com
Tue, 31 Jul 2001 17:03:41 -0700


Thomas Wouters wrote:

> The Perl version of the compiled code could of course be
> 
> PUSH "1"
> COERCE_INT
> PUSH "2"
> COERCE_INT
> BINARY_ADD
> 
> for Perl's
> 
> "1" + "2"
> 
> and
> 
> PUSH "1"
> PUSH "2"
> BINARY_ADD
> 
> for it's
> 
> "1" . "2"

I hate to bring up the fact that in Perl6 the . will be used for
attribute access (or at least method dereferencing), and some other
operator will be used for string concatenation =).

=)