Check the docs on DBI.my $sth=$dbh->prepare("INSERT INTO data_profile VALUES (?)"); while(<DATA>){ $sth->execute($_)or die $dbh->errstr; } __DATA__ 1 10 2 20
In reply to Re: perl and mysql parse a text file
by idle
in thread perl and mysql parse a text file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |