Santosh Pathak wrote:
> Hi,
> 
> I read on following site that DBD::CSV supports multi-character
> separator. But I am not able to use it. my separator is |++|
>
http://www.annocpan.org/~JZUCKER/DBD-CSV-0.22/lib/DBD/CSV.pm<http://www.
annocpan.org/%7EJZUCKER/DBD-CSV-0.22/lib/DBD/CSV.pm>
> 
> Even after setting sep_char to |++|, it doesn't work.
> Am I missing something?

The current released version of DBD::CSV does not support this.  The
author says he's added support to the next version, but I don't see it
on CPAN yet.

The problem is that DBD::CSV uses Text::CSV_XS to parse the CSV files --
and that module does not support multi-char separators.  The newer
version (not yet released) allows you to specify your own CSV parser,
bypassing that limitation.

- Philip

Reply via email to