Hi,
 
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);

The records are getting output with the line feed and instead wrapping.
 
'28526'|'14827160'|'19901'|'4'|'13'\n'28526'|'14827160'|'19907'|'1'|'2'\
n'28526'|'14827160'|'19940'|'1'|'1'\n'28526'|'14827160'|'19992'|'4'|'2'\
n'28526'|'14827639'|'20000'|'1'|'8'\n'28526'|'14827639'|'19992'|'4'|'1'\
n'28526'|'14827639'|'20005'|'2'|'2'\n'28526'|'14827639'|'20005'|'4'|'6'\
n'28526'|'14828630'|'19901'|'4'|'1'\n'28526'|'14829031'|'20076'|'2'|'1'\
n'28526'|'14829810'|'20000'|'4'|'2'\n'28526'|'14829810'|'19942'|'4'|'3'\
n'28526'|'14830631'|'19899'|'4'|'8'\n'28526'|'14830631'|'19926'|'1'|'3'\
n'28526'|'14830631'|'19971'|'4'|'2'\n'28526'|'14831785'|'19916'|'4'|'2'\
n'28526'|'14832435'|'19971'|'2'|'1'\n'28526'|'14832435'|'20005'|'4'|'1'\
n'28526'|'14832551'|'20004'|'4'|'4'\n'28526'|'14832759'|'19899'|'1'|'3'\
n'28526'|'14832759'|'19972'|'4'|'6'\n'28526'|'14832759'|'20001'|'4'|'1'\
n'28526'|'14833062'|'19940'|'2'|'3'\n'28526'|'14833062'|'20003'|'4'|'3'\
n'28526'|'14833087'|'19916'|'2'|'1'\n'28526'|'14833127'|'20003'|'4'|'4'\
n'28526'|'14833170'|'19926'|'1'|'2'\n'28526'|'14833170'|'19942'|'4'|'3'\
n'28526'|'14833170'|'19973'|'4'|'3'\n'28526'|'14833170'|'20075'|'2'|'2'\
n'28526'|'14833188'|'19897'|'4'|'3'\n'28526'|'14833188'|'20005'|'4'|'1'\
n'28526'|'14833197'|'19926'|'1'
 
Also, how can I force it so that the output does not have the quotes for
every field?
 
Thanks.
 
Peter


This E-mail message is for the sole use of the intended recipient(s) and may 
contain confidential and privileged information.  Any unauthorized review, use, 
disclosure or distribution is prohibited.  If you are not the intended 
recipient, please contact the sender by reply E-mail, and destroy all copies of 
the original message.

Reply via email to