in reply to Perl DBI and NULL vales from MSSQL
Is it common to write a function to compare all each field fetched to a undef and replace the literal value with "NULL" or such.. Before you print out a value?
You shouldn't have to do that. It should just return NULL automatically.
I might be able to help more if you showed me the code you are working with.
-thabenkstamy $name = 'Ben Kittrell'; $name=~s/^(.+)\s(.).+$/\L$1$2/g; my $nick = 'tha' . $name . 'sta';
|
|---|