I think ~ is assigned to regex match already?
No, see perlop
so currently ~> is a syntax error, you can't have unary operator bitwise-negation follow greater than operator, so ~> is free and open for use with no possibility of confusion with anything elseBinary "=~" binds a scalar expression to a pattern match. Binary "!~" is just like "=~" ... Binary "~~" does a smart match between its arguments. Unary "~" performs bitwise negation ""->"" is an infix dereference operator, just as it is in C and C++. nonassoc < > <= >= lt gt le ge
Also, neither > nor ~ nor ~> nor -> are sigils, sigils are $ % @ * as in $ro %sham @bo *dynamite
In reply to Re^2: What operator should perl5porters use for safe dereferencing?
by Anonymous Monk
in thread What operator should perl5porters use for safe dereferencing?
by de-merphq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |