Peter Haworth writes: > > @a ^[alpha_op] +3 > > You can parse this in two ways: > * "array a", "hyperop alpha_op", "unary plus", "literal 3" > * "array a", "binary xor", "call alpha_op and put result in arrayref", > "binary plus", "literal 3" >
I think this was already discusse dbefore . ^ - xor and ^[] vectorization can coexist because perl takes longest known operator sequence ( and the vectorization is ^[] not "^ [ ]") so ^[] is vectorization and ^ [foo] *cannot* just like ~~ is binding and ~ ~ is ( string scalar context ( string scalar context ( so if you mean xor -- write ^ [...] arcady