in reply to Finding error: uninitialized value in concatenation?

Just a guess, but if you're receiving any NULL values back from your DB then those will be translated to undef in perl.