I have an array for which the follo开发者_如何转开发wing test returns true: 1 ~~ @a And yet, the following test returns false:
In an SO answer daxim states: @array ~~ $scalar is true when $scalar is in @array to which draegtun replies:
How can I wri开发者_如何学Cte this with the smartmatch operator (~~)? use 5.010; my $string = \'12 23 34 45 5464 46\';