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
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 = $dbh->prepar
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 inte
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.
Ent