I discovered the trick perusing boolean which uses it to good effect. It makes boolean expressions such as "foo" eq "bar" return boolean objects (which in turn overload boolification). The net effect is to give Perl a boolean type.
In reply to Re^2: Perl allows you to change the definition of false to make it true. (And vice versa.)
by tobyink
in thread Perl allows you to change the definition of false to make it true. (And vice versa.)
by tobyink
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |