Added error exception when trimming barcode
added support for database using DBIC