![]() |
|
XP is just a number | |
PerlMonks |
Re: How to report call stack for DBI queriesby arturo (Vicar) |
on Apr 17, 2003 at 18:09 UTC ( #251278=note: print w/replies, xml ) | Need Help?? |
update: whoops, read the note way too quickly. Thought you wanted a trace of what's going on in the prepare calls; the advice stands for that usage, but not for the poster's question! Check out the DBI's trace method, which is simple to set up:
I find level 2 to be of general use while debugging harder problems, 3 when 2 doesn't reveal enough, but I've never needed to go any higher. As the docs used to say, 6 really is too high to be useful, but I suppose it's there for a reason =) If not P, what? Q maybe?
In Section
Seekers of Perl Wisdom
|
|