On Tue, 03 Jul 2007 06:49:02 -0700,
The purpose is to get the right value delimiter such as double-quote,
no quote at all etc for batch load data into database. For example, by
default using dump_results(), even integer, smallint, decimal are
delimited with single quote which during loaded will be mistaken to be
varchar.
dump_results() is meant, according to the DBI documentation, to provide
output for humans. Specifically it states:
Since it uses "neat_list" to format and edit the string for reading
by humans, it is not recomended for data transfer applications.
So you're using a function for a purpose for which it is specifically
documented not to be meant. I suggest that maybe you need to have a look
at the DBI:
umper module, or maybe you should simply override
DBI::neat() as I suggested.
Martien