Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: mod_perl ApacheDBIby jmanning2k (Pilgrim) |
on Nov 12, 2003 at 21:47 UTC ( [id://306650]=note: print w/replies, xml ) | Need Help?? |
I find the use of local a little curious. I think this may work if you put the first local statement inside the eval block instead of before the eval block. See Temporary Values via local()
You should not put local $dbh->{AutoCommit} = 0 after the block. If you have a local inside the eval block, then just closing the block and letting it expire is enough. ~J
In Section
Seekers of Perl Wisdom
|
|