Install libdancer-plugin-database-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libdancer-plugin-database-perl
Description:
Dancer plugin providing easy database connections
Dancer::Plugin::Database is a Dancer plugin that provides an easy way to obtain a connected DBI database handle by simply calling the "database" keyword within your Dancer application. It also ensures that the database handle is still connected and valid. . Additionally, connection credentials and other information are retrieved from the Dancer configuration, leaving your code nice and clean.
Homepage: https://metacpan.org/release/Dancer-Plugin-Database
Version: 2.13-1
Section: universe/perl