Hi, I am writing some report in perl to retrieve records from database. And every time when make a connection to database will take a long time. How can I make my script to 1. if the database connection is not there, make a connection from web server and database 2. if database connection is there, use that connection 3. Connect timeout after few second if there is no communication between web server and database.
TKS Linda