Loo, Peter # PHX [mailto:[EMAIL PROTECTED]:

> I am passing the correct arguments to dump_results, but it appears that
> the records are not getting separated with new line.
> 
> $maxlen = 500;
> $lsep = '\n';
> $fsep = '|';
> $fh = \*FH;
> 
> $rows = $sth->dump_results($maxlen, $lsep, $fsep, $fh);

Single quoted strings do not do backslash substitution (except for \\ and
\').  You meant $lsep = "\n";


> Also, how can I force it so that the output does not have the quotes for
> every field?

DBI::neat() won't quote the value if it knows it's a number.  Unfortunately,
I'm not sure how to let it know it's a number in this case.  Sorry.


Ronald


Reply via email to