> If i run this code from command line or under mod_cgi, it work fine. > But if it run repeatedly under mod_perl, it occasionally give me a > "database access timeout" message (see code above), but error value $! > still empty.
What return value are you getting from tie? Incidentally, since this is a read-only situation, you can open the dbm once and keep the handle in a global. Then you save time by not needing to open it on each request. - Perrin