How to test status of handler sth?
perl_at_swanmail.com
Date: 10/23/03
- Next message: Ron Savage: "Q: SQL Relay"
- Previous message: Thomas A. Lowery: "Re: inserting new date in datatbase when different from system directory"
- Next in thread: Michael A Chase: "Re: How to test status of handler sth?"
- Reply: Michael A Chase: "Re: How to test status of handler sth?"
- Maybe reply: Anil Menon: "Re: How to test status of handler sth?"
- Maybe reply: Eric Frazier: "Re: How to test status of handler sth?"
- Maybe reply: Eric Frazier: "Re: How to test status of handler sth?"
- Maybe reply: Anil Menon: "Re: How to test status of handler sth?"
- Maybe reply: Eric Frazier: "Re: How to test status of handler sth?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 22 Oct 2003 22:18:18 -0700 (PDT) To: dbi-users@perl.org
How can I test the status of $sth itself?
A scenario is that a $sth is passed from a sub. And now, I have a $sth. Of
course $sth->rows return 0 or whatever int row. However, a test using
$sth->rows is not good when something is wrong. It return some large
number. So How can I test to see if its bad or good without access to
previous calls?
thanks
-----------------------------------------
eMail solutions by
http://www.swanmail.com
- Next message: Ron Savage: "Q: SQL Relay"
- Previous message: Thomas A. Lowery: "Re: inserting new date in datatbase when different from system directory"
- Next in thread: Michael A Chase: "Re: How to test status of handler sth?"
- Reply: Michael A Chase: "Re: How to test status of handler sth?"
- Maybe reply: Anil Menon: "Re: How to test status of handler sth?"
- Maybe reply: Eric Frazier: "Re: How to test status of handler sth?"
- Maybe reply: Eric Frazier: "Re: How to test status of handler sth?"
- Maybe reply: Anil Menon: "Re: How to test status of handler sth?"
- Maybe reply: Eric Frazier: "Re: How to test status of handler sth?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|