in reply to How to report call stack for DBI queries
The only "problem" with this is that the code that you're trying to debug needs to "use MyDBI;" and not "use DBI;".------- MyDBI.pm ------- package MyDBI; use DBI; @ISA = qw(DBI); sub execute{ print "DBI::execute() called with ".join(',', @_)."\n"; $_[0]->SUPER::execute(@_); } # other methods here ------- MyDBI.pm -------
|
---|
Replies are listed 'Best First'. | |
---|---|
•Re: Re: How to report call stack for DBI queries
by merlyn (Sage) on Apr 17, 2003 at 20:23 UTC | |
by perlplexer (Hermit) on Apr 17, 2003 at 20:56 UTC |