The stupid question is the question not asked | |
PerlMonks |
Re: DBI prepare and function recursionby gmax (Abbot) |
on Oct 07, 2003 at 10:34 UTC ( [id://297246]=note: print w/replies, xml ) | Need Help?? |
Move the statement handlers outside the recursive function. Then, instead of passing a dbh, you pass the properly initialized statement handlers; In addition, you should change the fetch method, so you are sure that the recursed sth is not executing a nested operation while still handling the outer one. This is untested but it should get you on track.
Update _ _ _ _ (_|| | |(_|>< _|
In Section
Seekers of Perl Wisdom
|
|