To smart-match against all elements of an array, you can include a ref to the array as a testset (don't wrap it in [] ). To combine it with other tests, make the action C<sub {Case::resume()}> and put the rest of the tests as the next testset.
the lowliest monk
In reply to Re: RFC: Case package documentation
by tlm
in thread RFC: Case package documentation
by Roy Johnson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |