[CDBI] cdbi objects evaluating as false

Aaron Trevena aaron.trevena at gmail.com
Sat Nov 25 19:14:19 GMT 2006


On 25/11/06, Aaron Trevena <aaron.trevena at gmail.com> wrote:
> > while ( defined (.. ) ) {
> So I think I'll go with that - now I just need to be able to do the
> same in TT, where I am using the same iterator and horrid variation on
> the while loop. bah.

Ah ha!

Boolify is what I was looking for, and while I'm having fun with
overloading that I can make the iterator numify to the number it
contains and boolify to whether it contains anything!

Hours of fun!

A.

-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting



More information about the ClassDBI mailing list