On Fri, Jan 04, 2002 at 09:17:28AM -0600, Mitch Helle-Morrissey wrote: > 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.
You could turn off warnings locally when you use the values:
{
local $^W;
print join ',', @values;
}
Or, if you have perl5.6:
{
no warnings 'uninitialized';
print join ',', @values;
}
Ronald
