On Tue, Aug 08, 2000 at 01:42:40AM +0000, Nate Mueller wrote:
> Along the same line it would be useful to be able to overload the "truth
> operator" (bad word, I'm sorry). It's great to be able to do:
>
> if ($var1 && $var2)...
>
> But if you also want to do:
>
> if ($var1)...
>
> It should be the same as:
>
> if (user_defined_truth($var1))...
I'm sure I'm missing something, but how does this differ from
use overload 'bool' ?
Mx.
--
See, the stars are shining bright
Everything's all right tonight
-- (Martin L. Gore, Never Let Me Down Again)