use DBIish; role DB-Connection { has $.dbh; submethod TWEAK( :$dbh! ) { $!dbh = $dbh.isa(DBIish) ?? $dbh !! DBIish.connect( |%$dbh ); } }