in reply to Scope is just not for Fresh Breath

I like tilly's suggestion that there are undef values in your array as a result of null values.

Since I have neither Stein's book or a box for testing at hand, I'll have to just throw out another suggestion: If you only receive one warning, does what does fetchrow_array assign to @data when the statement evaluates to false?