What does “ ~~ ” mean in Perl?
问题 In an SO answer daxim states: @array ~~ $scalar is true when $scalar is in @array to which draegtun replies: From 5.10.1+ the order of ~~ is important. Thus it needs to be $scalar ~~ @array How about a small primer on ~~ with link(s) to source(s) including the following specific questions: What is ~~ ? What is ~~ called? Why does the order matter in one version but not in a previous one? Note that a good summary may not get all the details and can be hard to write. An introduction or primer