Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But what is true in Perl is well-defined: http://perldoc.perl.org/perlsyn.html#Truth-and-Falsehood

And modules doesn't have to end with 1;. They must return a true value :)

Added: If one really want booleans, there is [1].

[1] https://metacpan.org/pod/boolean



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: