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


in reply to Re^4: Can you explain the result?
in thread Can you explain the result?

Indeed it is, if you want something evaluated put it in parenthesis to be sure
return (1 and 0);
returns 0 as you would expect.

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."