Hi Martin!

I don't understand the warning, too.
But there are some little things, which could, but needn't be a problem

Martin Pfeffer wrote:
> use DBI;
> my $dir = "/Webserver/www.xxxxxxx.at/martin/cgi-bin/test/";
> my $dbh = DBI -> connect("DBI:CSV:") || die "$1 --- $DBI::errstr";
               ^^^^                   ^^^^
      (Better to write DBI->connect   (It's usual to use or)
       without spaces)                (So you mean $dbh = ( ... || die
...)
> $dbh->do("CREATE TABLE testtablex (id INTEGER, name CHAR(64))");
> my $sql = qq(insert into testtable values('4','uralaz'));
                                    ^^     ^^^
(You create testtablex instead above)     (Is it really necessary to 
                                           write numbers in ' ... '  ?!)
> $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
> 


Best Wishes,
Andrea

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

Reply via email to