DBI is an interface. It isn’t really meant to be used without some kind of a
database / DBD driver behind the interface.
The following are simple and do not require a lot of other things to be
installed:
https://metacpan.org/pod/DBD::Mock
https://metacpan.org/pod/DBD::Mem
https://metacpan.org/
For further reading:
https://metacpan.org/pod/DBI::DBD
These links may help as well:
(You can compare perl to other programing languages you may already know)
https://rosettacode.org/wiki/Table_creation
https://rosettacode.org/wiki/Table_creation/Postal_addresses
https://rosettacode.org/wiki/SQ