$sth->execute($words[0], $words[1]) or die $DBI::errstr;
(As a side node $1 is not a register, but a (special) variable that is set by the regex engine.
In reply to Re: split a line into 2 variables and store in SQL
by moritz
in thread split a line into 2 variables and store in SQL
by sharan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |