Damian Conway: # > # 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.
Set in stone, huh? Hmm. It may affect the parsing, but I'm not sure. Perhaps we can Arbitrarily Declare that an underscore isn't allowed as the last character of a symbol. That way, you can still do $foo_$bar without worrying about whitespace. BTW, did you guys look at the possibility of overloading hyper? $foo ^ $bar ought not to occur anywhere; nor should @foo ^^ @bar. And I didn't see anything about you being able to hyper =, so ^= ought to be alright too. # > <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. Of course. OTOH, people will scratch their heads when they come upon $foo § $bar or whatever. On a separate note, how will '$foo??Bar::baz::frob' parse? Since I've been complaining a lot, I'll now say a bunch of the things I do like: ^ // := => ~~ (in concept, at least) * : ??:: $user_operator --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 They *will* pay for what they've done.