smartmatch
Why does smartmatch return different values depending on the order of the operands?
I have an array for which the follo开发者_如何转开发wing test returns true: 1 ~~ @a And yet, the following test returns false:[详细]
2023-02-16 03:43 分类:问答What does " ~~ " mean in Perl?
In an SO answer daxim states: @array ~~ $scalar is true when $scalar is in @array to which draegtun replies:[详细]
2023-01-04 14:17 分类:问答Can I replace the binding operator with the smartmatch operator in Perl?
How can I wri开发者_如何学Cte this with the smartmatch operator (~~)? use 5.010; my $string = \'12 23 34 45 5464 46\';[详细]
2022-12-09 12:39 分类:问答