in reply to Dereferencing and DBI methods
You have 'RaiseError=>1' in your connect, so you do not need all those 'or die...' clauses in your DBI calls. Your select is returning a reference to an array with zero rows. In scalar/boolean context that is zero, i.e., false. So the statement dies.