I'm trying to write a multi-threaded application with database connection pooling, and getting this error :
thread failed to start: Can't locate object method "prepare" via package "DBI::db=HASH(0x8284854)"
Database handler is prepared in the main thread, and passed to the threaded soubroutine as a parameter. I welcome any suggestions regarding this matter.