Re: Blank Pages ( Revisited ) [Semi-OT]

2002-03-13 Thread Ged Haywood

Hi there,

On Wed, 13 Mar 2002 [EMAIL PROTECTED] wrote:

 However, when I do a random query I get some blank pages. I traced this to 
 the DBI Log using the DBH-Trace(2, /tmp/DBI.log). I found that sometimes 
 the execute() returns 0E0. Does anybody knows why?? 

It probably means zero multiplied by ten to the power zero, or to put
it another way, zero.

73,
Ged.





Re: Blank Pages ( Revisited ) [Semi-OT]

2002-03-13 Thread Ron Savage

On Wed, 13 Mar 2002 10:29:51 + (GMT), Ged Haywood wrote:
Hi there,

On Wed, 13 Mar 2002 [EMAIL PROTECTED] wrote:

However, when I do a random query I get some blank pages. I
traced this to
the DBI Log using the DBH-Trace(2, /tmp/DBI.log). I found that
sometimes
the execute() returns 0E0. Does anybody knows why??

It's DBI's way of saying 0 (records returned) but true. Ie It's
deliberate.


--
Ron Savage, [EMAIL PROTECTED] on 13/3/02
http://savage.net.au/index.html





Re: Blank Pages ( Revisited ) [Semi-OT]

2002-03-13 Thread Andy Lester

  However, when I do a random query I get some blank pages. I traced this to
  the DBI Log using the DBH-Trace(2, /tmp/DBI.log). I found that sometimes
  the execute() returns 0E0. Does anybody knows why??

 It probably means zero multiplied by ten to the power zero, or to put
 it another way, zero.

Perl has three values that are false: 0,  and undef.  Anything else is
true.

OE0 is the 0 but true value that DBI uses to signal that zero rows were
returned, but succeeded.

xoxo,
Andy

-- 
'Andy Lester[EMAIL PROTECTED]
 Programmer/author  petdance.com
 Daddy  parsley.org/quinn   Jk'=~/.+/s;print((split//,$)
[unpack'C*',n2]3%+\34.'%.'^%4+!o.'])