James Mastros wrote: > > A set of braces is a special op that evaluates into the list of words > > contained, using whitespace as the delimeter. It is similar to qw() > > from perl5, and can be thought of as roughly equivalent to: > > C<< "STRING".split(' ') >> > I thought it was named <<foo bar baz>> or «foo bar baz» or qw(). (That > middle one should be U+00AB and U+00BB, \N{LEFT-POINTING DOUBLE ANGLE > QUOTATION MARK} and \N{RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK}. > Additionaly, I'm fairly certian, the Unicode ops could be either > direction. I think there was a reason for that, but I don't remember what.
I know there was/is a proposal that we use both <<op>> and >>op<< for vector (hyper) operators, and that they would mean different things... I don't remember it specifically being extended to qw., such that <<a b c>> and >>a b c<< would be identical. I would imagine if we allowed both <<a b c>> and >>a b c<< to mean qw, the two constructs would be identical, yes? (My original worry was that allowing both <<a b c>> and >>a b c<< would wreak havoc on syntax-coloring editors, but they probably can be taught to handle it.) MikeL