in reply to sub not executed
I'd bet that the root cause of the problem is code that you removed. In particular, in the query that you're constructing and executing. It's perfectly reasonable for an SQL query to execute without error, yet still return no rows. If that happens, your sub wouldn't be called.
Start there. Put in enough debugging code to examine the query that you're producing, then try running that query by hand using whatever command-line client your database provides (e.g., "mysql" if you're using MySQL).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: sub not executed
by Fletch (Bishop) on Feb 10, 2003 at 20:35 UTC | |
|
Re: Re: sub not executed
by pcouderc (Monk) on Feb 12, 2003 at 09:24 UTC |