May 26, 2018
Easy database connections for Dancer applications
DancerPluginDatabase provides an easy way to obtain a connected DBI database handle by simply calling the database keyword within your Dancer application.
Returns a DancerPluginDatabaseHandle object, which is a subclass of DBI’s DBIdb connection handle object, so it does everything you’d expect to do with DBI, but also adds a few convenience methods. See the documentation for DancerPluginDatabaseHandle for full details of those.