in reply to Re^4: Order in which grep/map receive elements
in thread Order in which grep/map receive elements
"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};
|
|---|