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


in reply to Re: How can i debug compound map/grep statements just using print?
in thread How can i debug compound map/grep statements just using print?

No.

Karls-Mac-mini:~ karl $ perl -e 'print 2*60*60;' 7200
perl -e 'print scalar( grep { $_ == 1 } (0,0,0) );' # nothing found 0
perl -e 'print scalar( grep { $_ == 1 } (1,0,0) );' # one found 1

«The Crux of the Biscuit is the Apostrophe»