cpan you have to see

Paul Makepeace paulm at
Sat Dec 15 00:42:59 GMT 2012

On Fri, Dec 14, 2012 at 4:23 PM, David Cantrell <david at> wrote:
> $ true && echo "it was true"

This makes sense. Think of "true" as "thing that succeeded" rather
than "OMG it's 0 so must be false!!1!"

Ruby treats everything as true unless it's nil or false (so yes, 0 and
'' are true). Bit weird to get used to but all this other nonsense
goes away.


More information about the mailing list