Up Prev Next
From: "Scott Zetlan" <scottzetlan at aol dot com>
Subject: RE: A patch proposal to the NULL-value problem on blk_rowxfer
Date: Jun 21 2002 1:41PM
> -----Original Message-----
> From: Scott Zetlan [mailto:email@example.com]
> Sent: Friday, June 21, 2002 9:36 AM
> To: SYBPERL-L@list.cren.net
> Subject: RE: A patch proposal to the NULL-value problem on blk_rowxfer
> 1. The documentation clearly states that SEPARATOR => '|' in the
> config hash will allow you to use pipes as separators, when in
> fact it absolutely has to be SEPARATOR => '\|'. I recommend the
> documentation be changed to include the '\' character, and a note
> added to indicate why it's there.
It also appears that when a record fails, the error file created contains
the regular expression as the separator, not the expression matched. For
example, if the record "a||b" is separated as above, and fails to transfer
for some reason, the error file includes the record "a\|\|b", which couldn't
be run back through the same program to reload.
So until that bug is fixed, beware!