to my mind this is inconsistent and just plain wrong. edit: this is not true on my machine, apologies $ perl -E 'say 42 ~~ 1,2,3, "42x"' $ perl -E 'say 42 ~~ 1,2,3, "42"' 1 </code>this will be false 42 ~~ "42x" this true with a warning 42 ~~ [23, 17, "42x", 70]
In reply to Re^4: Smart Match is not recursive in 5.10
by bigearsbilly
in thread Smart Match is not recursive in 5.10
by szabgab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |