
Cgi::application::plugin::dbh adds access to a dbi database handle to your cgi::application modules. lazy loading is used to prevent a database connection from being made if the dbh method is not called during the request. in other words, the database connection is not created until it is actually needed.