http://www.perlmonks.org?node_id=367699


in reply to Re: Converting to boolean
in thread Converting to boolean

To further elaborate on hv's excellent response, I often want to know for a fact that a value is explicitly TRUE or explicitly FALSE. Some situations:

It's a minor point, but it's those details that I find separate the beginner from the expert.

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

I shouldn't have to say this, but any code, unless otherwise stated, is untested