"Smart match and defined-or are disabled by default"
Again, in the interest of nitpicking, they are not.
#!/usr/bin/perl $var = undef // "defined-or and smartmatch both work"; print "$var\n" if $var ~~ qr{work};
In reply to Re^5: Order in which grep/map receive elements
by tobyink
in thread Order in which grep/map receive elements
by abufct
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |