- or download this
The smartmatch implicitly dereferences any non-blessed hash or array r
+eference, so the HASH and ARRAY entries apply in those cases.
- or download this
Right operand is an ARRAY:
...
Any ARRAY smartmatch each ARRAY element
like: grep { Any ~~ $_ } ARRAY
- or download this
Num nummy numeric equality
like: Num == nummy
- or download this
Either an actual number, or a string that looks like one.
- or download this
grep { $selection ~~ $_ } (5103)
- or download this
$selection == 5103
- or download this
use constant FOO => 42;
- or download this
sub FOO() { return 42; }