in reply to Re: Re: Boolean operators and list assignments
in thread Boolean operators and list assignments

I'd look to exceptional cases as the problem since the logic looks ok (especially with the added parens).

What happens if there are no rows returned?

What happens if a DBI error occurs?

I'll try to take more detailed look later, but it's been my experience that DBI can throw you some curves that are less than obvious.

  • Comment on Re: Re: Re: Boolean operators and list assignments

Replies are listed 'Best First'.
Re: Re: Re: Re: Boolean operators and list assignments
by jreades (Friar) on Dec 21, 2000 at 02:24 UTC

    And on a related note, what happens if you place the comparison test ('<') first in the while loop?