in reply to DBI gives "undef" for specific row

Try selecting that column specifically like so:
select row2 from sometable where somerow=1234
Also, can you include your result fetch method in the post (fetchrow_hashref, fetchall_hashref, etc)?