Re: [CDBI] cdbi objects evaluating as false

"Aaron Trevena" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <[email protected]>
On 25/11/06, Aaron Trevena <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.