http://www.perlmonks.org?node_id=631988


in reply to Re^2: grep and $_
in thread grep and $_

you can if you use the BLOCK form of grep..
unless ( grep { print "$item eq $_? ", $item eq $_, "\n"; $item eq $_; } @skipper ) { # not found in list? print "skipper is missing $item.\n"; }