$ 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
Anyway the wording "it returns a boolean value" is somehow misleading ...
It does return something that's a boolean value (true when there's a match, false when there's no match). It also returns ...
In reply to Re^3: Booleans from flip-flops
by ikegami
in thread Booleans from flip-flops
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |