~ looks like a string to me Larry sycophant that I am.
, also looks a little like a string. And is keyboard friendly.

Its doubtless naive to suggest it, but why not:

Perl 5          Perl 6
--------------- ---------------
->              .
+               +
.               ~+
eq              ~==
ne              ~!=
gt              ~>
ge              ~>=
lt              ~<
le              ~<=
cmp             ~<=>
.=              ~+=
                ~=+ (concat after)
=~              =~
!~              !~

You can leave aliases for eq, ne, gt... or depreciate them. -But leave
precedence as is...

Perl 5                        Perl 6
----------------------------- ----------------------------
$res = $var + $var2;          $res = $var + $var2;
$name = "This" . "that";      $name = "This" ~+ "that";
$name = "This" . $that;       $name = "This" ~+ $that;
print "Next is " . $i + 1;    print "Next is " ~+ $i + 1;
$me = $name . getpwuid($<);   $me = $name ~+ getpwuid($<);   



Reply via email to