David Ascher | 1 Aug 2001 02:03
Picon

Re: Parrot -- should life imitate satire?

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 =).

=)

(Continue reading)


Gmane