I hadn't heard about the new booleans.
They're not new. They've existed for a very long time. At least since Perl 5.6 in 2000, but probably long before that. What was missing were functions whose sole purpose was to return them. That's what was recently introduced. And that's why we used !!0 and !!1 to produce them before that.
In reply to Re^3: Why is Dumper returning "!!1" for true file test?
by ikegami
in thread Why is Dumper returning "!!1" for true file test?
by nysus
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |