Your title says you're using DBD::CSV, but you're using DBD::AnyData. It's no suprise that DBD::CSV's csv_sep_char doesn't work if you're not using DBD::CSV.
You should be using
my $dir = "C:\\Doc...\\ParsingXML"; my $dbh = DBI->connect("dbi:CSV:f_dir=$dir;csv_sep_char=\\;"); my $sth = $dbh->prepare("SELECT Station, Date, Time FROM log");
(Note: That opens C:\Doc...\ParsingXML\log. Not sure how to open C:\Doc...\ParsingXML\log.jdb.)
Update: It is not possible to specify an alternate sperator with DBD::AnyData. The only options for AnyData's CSV handler are col_names, eol, quotechar and escape_char.
In reply to Re: Problem parsing semicolon delimited file with DBD::CSV
by ikegami
in thread Problem parsing semicolon delimited file with DBD::CSV
by sxmwb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |