Keep It Simple, Stupid | |
PerlMonks |
Re: Handling DBD::OBDC error on a 'thread safe' classby renodino (Curate) |
on Nov 07, 2005 at 16:09 UTC ( [id://506394]=note: print w/replies, xml ) | Need Help?? |
You fail to mention precisely how its failing ?
What version of (Perl, DBI, DBD::ODBC) you're using,
and on what platform/OS ? I don't see anything in your code regarding threads (i.e., no threads->new(), threads::shared, lock(), etc), so I don't see what makes this "thread-safe" ? That said, have you considered DBIx::Threaded ? It might further simplify the thread-safety issue.
In Section
Seekers of Perl Wisdom
|
|