$ perl -wle'print ""' $ perl -wle'print 0+""' Argument "" isn't numeric in addition (+) at -e line 1. 0 $ perl -wle'print !1' $ perl -wle'print 0+!1' 0