Hi all

I write the following code and he works fine :

use DBI;
my $dir = "/Webserver/www.xxxxxxx.at/martin/cgi-bin/test/";
my $dbh = DBI -> connect("DBI:CSV:") || die "$1 --- $DBI::errstr";
$dbh->do("CREATE TABLE testtablex (id INTEGER, name CHAR(64))");
my $sql = qq(insert into testtable values('4','uralaz'));
$dbh->do($sql);
$dbh -> disconnect;

but if i use the -w switch i get the following error:

Argument "" isn't numeric in sassign at
/usr/lib/perl5/site_perl/5.005/DBD/CSV.pm line 197

Thanx
Martin


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to