SEGV on DBI-connect with DBD::Sybase

2001-08-12 Thread plm
I'm having trouble with perl dumping core with a *very* basic DBD::Sybase script. Here is the output from the script: $ ./syb.pl Segmentation fault (core dumped) $ Here it is in the debugger: $ perl -d ./syb.pl Loading DB routines from perl5db.pl version 1.0402 Emacs support available.

Re: I found DBI works without install!!!

2001-08-12 Thread Kawai,Takanori
Kon-nichiwa. - Original Message - From: "plala" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 3:41 PM Subject: I found DBI works without "install"!!! I found DBI works without "install"!!! As Martin wrote, it is not very special. This might be very

RE: Cannot Insert into SQL Server

2001-08-12 Thread Hugh J. Hitchcock
probably the placehoder answer would work. But other than that, I think this would probably work: my $sth = $dbh-prepare(insert into emails values ('$addr')) || die Can't prepare statement: $DBI::errstr; embedding the value inside of double quotes or my $sth =

RE: Cannot Insert into SQL Server

2001-08-12 Thread Steve Howard
Generally, people use q{} and qq{} quotation notation to avoid having to concatenate, and to avoid the interference of quotes required by the SQL statement - or other statements. The problem in the original question was that the person used a single q with the q{} quote notation. A single q works