Re: Cannot build DBD-Informix with perl and gcc on hpux11.11

2004-05-11 Thread Jonathan Leffler
Delaporte, Olivier wrote: I am trying to build the DBD-Informix module DBD-Informix-2003.04 on HP-UX 11.11v1 with Perl 5.8.0.B and gcc 3.3.3. The informix parameters are: INFORMIXDIR=/apps11/informix ; export INFORMIXDIR INFORMIXSERVER=fab3_prd1 ; export INFORMIXSERVER PATH=$PATH:$INFORMIXDIR/bin ;

Re: different field delimiters and xml question

2004-05-11 Thread Jeff Zucker
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

Cannot build DBD-Informix with perl and gcc on hpux11.11

2004-05-11 Thread Delaporte, Olivier
Hello I am trying to build the DBD-Informix module DBD-Informix-2003.04 on HP-UX 11.11v1 with Perl 5.8.0.B and gcc 3.3.3. The informix parameters are: INFORMIXDIR=/apps11/informix ; export INFORMIXDIR INFORMIXSERVER=fab3_prd1 ; export INFORMIXSERVER PATH=$PATH:$INFORMIXDIR/bin ; export PATH DB

RE: code for different field delimiters and xml question

2004-05-11 Thread leegold
So, if the delimiter is '###' something like: $dbh->{sep_char}='###'; would work, you think? -- http://www.fastmail.fm - Sent 0.02 seconds ago

Re: different field delimiters and xml question

2004-05-11 Thread Jeff Zucker
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

RE: different field delimiters and xml question

2004-05-11 Thread Reidy, Ron
-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

different field delimiters and xml question

2004-05-11 Thread leegold
I'm slightly cross posting because I have similiar question on newsgroup but no response (yet). Wondered if you can entertain my ques. 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

Re: using binary data in variable in an INSERT/UPDATE statement

2004-05-11 Thread Scott T. Hildreth
..Also found this in the Docs (perldoc DBI, search for binary) Perl supports binary data in Perl strings, and the DBI will pass binary data to and from the driver without change. It is up to the driver implementors to decide how they wish to handle such binary data. On Mo

Re: using binary data in variable in an INSERT/UPDATE statement

2004-05-11 Thread Scott T. Hildreth
..forgot to cc list. On Mon, 2004-05-10 at 14:33, Scott T. Hildreth wrote: > I guess it would depend on which database you are using. I would try > it with a bind column and let the DBD driver handle the quoting if need > be, > > $dbh->do(q{ > update mystuff set binaryfld=? > Where id=