Follow-up question:
Why does "x" ~~ "a", "b", "c" always give 1? Running through Deparse gives: 'x' ~~ 'a', '???', 'c'. What is going on here?
And why does "x" ~~ sub { "a", "b", "c" } also give 1? Smart match is giving me a headache...
In reply to Re^2: ~~ and list literal
by Anonymous Monk
in thread ~~ and list literal
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |