Fromthe errors it would appear that somethingis indeed not happening! You are warned that two variables are created or used only once, but never again. So assuming main::dbh is the database handle, then it must be used when the DB is called, somehow that code is not being run.
Maybe if you can post some more code here we can look at that and help some more.
jdtoronto