Re: DBD::CSV question

2002-08-10 Thread Janek Schleicher
Gregg O'Donnell wrote at Fri, 09 Aug 2002 20:32:38 +0200: > Hey - I'm trying to put this together from studying the perldoc. Do I need to define >"my $table =" and if so, to the csv file? Also, the number of scalars should equal >the number of question marks? > > use DBI; > > my $dbh = DBI->c

Re: DBD::CSV question

2002-08-09 Thread Michael Fowler
On Fri, Aug 09, 2002 at 11:32:38AM -0700, Gregg O'Donnell wrote: > > Do I need to define "my $table =" Um, yes. There's nothing magical about how you're using $table, it's just like using any other variable, which means you have to define it. You could also just insert "logger" directly into t

DBD::CSV question

2002-08-09 Thread Gregg O'Donnell
Hey - I'm trying to put this together from studying the perldoc. Do I need to define "my $table =" and if so, to the csv file? Also, the number of scalars should equal the number of question marks? use DBI; my $dbh = DBI->connect(qq{DBI:CSV:csv_sep_char=\\;}); my $dbh->{'csv_tables'}->{'logge