in reply to a IO:SELECT problem

select in Perl and Unix only works with files and TCP and Unix domain sockets. On Win32 Perl, select only works with TCP sockets. If you want to run multiple database operations concurrently, you will have to spawn a thread or a process for every client connected or somehow pool your clients requests. If you have not already done so, look at what Apache::DBI does to pool its DBI database connections.