Is there any way to have DBI return NULL database values as something other
than Perl undef? It's a pain if you're printing out a bunch of columns
without examining the values because printing an undef generates warnings.
I wrote my own function to map undefs to something else, but I was thinking
it would be nice to have an attribute of how NULL database values will be
returned to Perl. Maybe something like:
$dbh->{NULL_VALUE} = '';
$dbh->{NULL_VALUE} = 'NULL';
$dbh->{NULL_VALUE} = undef; # current behavior
Mitch