On 21 Feb 2002, Jeff Zucker wrote:

> Tim Bunce wrote:
> >
> > On Wed, Feb 13, 2002 at 01:52:11PM -0800, Jonathan Leffler wrote:
> > >
> > > I've been emulating a pseudo-SQL command, UNLOAD, in DBI and
> > > DBD::Informix, and one of the messy parts is handling the mapping of
> > > undef into an empty string so as not to get warnings with 'perl -w'.
>
> Amen.  The problem is compounded in drivers like DBD::CSV which can't
> consistently distinguish between empty strings and NULLs.

So don't use CSV. Dump to XML with XML::Generator::DBI :-)

> > My reluctance is mainly due to the many simple alternatives available.
> >
> > But I could probably be persuaded if enough driver authors gang up on me :)
>
> Gang, Gang.

I'd rather not see it, personally. But then I'm new at this ;-)

-- 
<!-- Matt -->
<:->Get a smart net</:->

Reply via email to