Tim Bunce wrote:
package AnyData::Format::ThreeSharp;
use base 'AnyData::Format::Base';
sub write_fields { shift; sprintf "%s\n",join '###',@_ }
sub read_fields { split '###', $_[1] }
Should probably besplit '###', $_[1], -1
otherwise trailing empty fields will be removed.
On Tue, May 11, 2004 at 03:01:30PM -0700, Jeff Zucker wrote:
> leegold wrote (off list):
>
> >So, something like:
> >
> >$dbh->{csv_sep_char}='###';
> >
> >would work, you think?
>
> Hi,
>
> First, please respond to the list rather than to an individual. The
> individual might be busy :-). Al
leegold wrote (off list):
So, something like:
$dbh->{csv_sep_char}='###';
would work, you think?
Hi,
First, please respond to the list rather than to an individual. The
individual might be busy :-). Also, if the answer is on the list, then
everyone can learn from it.
The {csv_sep_char} is
leegold wrote:
I understand there is support for comma tab and pipe delimited files.
Let'say I have '###' as field delimiter in a flat text file. Can
I "inform" the DBI and use this?
DBI does not deal directly with databases, it leaves that to DBD
(database driver) modules which are used alongsid
-Original Message-
From: leegold [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 9:41 AM
To: [EMAIL PROTECTED]
Subject: different field delimiters and xml question
I'm slightly cross posting because I have similiar question on
newsgroup but no response (yet). Wondered if you can e