"An array slice in list context returns its last element"didn't know that. explains this behavior. not a bug.
In reply to Re^2: bug? why does this ~~ smart match to an array slice fail?
by flies
in thread bug? why does this ~~ smart match to an array slice fail?
by flies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |