$Bill wrote:

>       my $value = defined $values{$id} ? $values{$id} : '<undef>';
>

Thanks for the suggestions. There are lots and of this kind of occurrence
and only some of the fields that are being retrieved take nulls so it seems
a bit fiddly to do this for every possible occurrence though if it is the
only way then I would rather do it like this and keep everything in check. I
just wondered if there was some way to set the database connection to 'all
NULL string values are handled as empty strings' or something similar? Bit
of a long shot but thought it was worth checking.

Cheers
Mark


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to