> # solitary underscore for that. So, instead of:
   > #     $a . $b . $c you'll say:
   > #     $a _ $b _ $c The only downside to that is the space between a
   > # variable name and the
   > # operator is required. This is to be construed as a feature.
   > 
   > Ouch.  Although I don't wish to reignite the Concatenation Wars, I think
   > this is just too...too.../ugh/ to be put in.
   >
   > For now, I'll leave ~ as concatenation in babyperl, just because I don't
   > think this will last too long.  0.02, which should be ready Real Soon
   > Now, will use ~.

Then it will be Wrong.  This decision is pretty much set in stone.
As I say in Exegesis 3: Think of it as the dot operator under extreme
acceleration.


   > <half-joking>With the many different opinions on this, maybe we should
   > just have three or four different concat operators...</half-joking>

With user-definable operators you can use any Unicode sequence as a string:

        my sub operator:cc  is prec(\&operator:_($$)) ($x, $y) { $x _ $y }
        my sub operator:cat is prec(\&operator:_($$)) ($x, $y) { $x _ $y }
        my sub operator:\N{CIRCLED PLUS}
                            is prec(\&operator:_($$)) ($x, $y) { $x _ $y }

etc.

Damian

Reply via email to