Michael G Schwern wrote:
> 
> cc and ce
> 
>         Perl 5                          Perl 6
>         print "foo" . "bar";            print "foo" cc "bar;
>         print 2 . 4;                    print 2 cc 4;
>         print "foo " . ($i + 1);        print "foo " cc ($i + 1);
>         $foo .= "bar ";                 $foo ce "bar";

> It also has the nice side-effect of preserving '.=' functionality,
> which I'd rather not lose (especially after having made fun of
> $foo = $foo . 'bar'; type code).

While we're brainstorming a wish-list, here's something I've always
wanted, a replacement for:

   $a = $b . $a;

Under the above plan, maybe this is:

   $a ca $b;

For "concat after"?

-Nate

Reply via email to