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


in reply to Inchworm vs scalar: on boolean false value

Also, if you're not using the ouput of map, it's shorter and easier to read (IMHO at least) to use a postfix for loop:

print "[$_]" for scalar( 1 == 0 ), ~~ '', ~~ scalar( 1 == 0 ), ~~ ( 1 == 0 );