On 26 août, 21:52, spr...@cpan.org (Father Chrysostomos) wrote: > Ricardo Signes wrote: > The three advantages to smart match I’ve seen are: > • Junctive operations: ~~ @foo > • Accepting qr// or sub{} from the caller and using it on the rhs > • when(3) which is nice and short. I would like to add the following case (so we don't have to write "any"): • when(3, 4, 5) (-- used to be when([3, 4, 5]) --) which is nice and short and stands for: • when(any(3, 4, 5))Thread Previous | Thread Next