All jedi trainees bow the the Jedi master Simon. Just abit off humour guys. ----- Original Message ----- From: "Michelle Gerfort" <michelle.gerfort@teligent.se> To: "Simon Oliver" <simon.oliver@umist.ac.uk>; "DBI-users" <dbi-users@perl.org> Sent: Thursday, February 22, 2001 3:55 PM Subject: Re: Handeling undef data. > This was exactly the solution to my problem > Thank you Simon! ;) > > /Michelle > > Simon Oliver wrote: > > > hmm my mailer (crappy Netscape 6) seemed to screw up there - try this: > > > > if (defined $row[$i]) { > > if ($row[$i] ne "") { > > print $row[$i] . "\t"; > > } else { > > print "Empty string in row\t"; > > } > > } else { > > print "NULL value in row\t"; > > } > > > > // or was it me, P is next to { on the keyboard! // > > > > -- > > Simon > >Thread Previous | Thread Next