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};
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In Section
Seekers of Perl Wisdom