Perl
標準エラーは print STDERR $_; など。 tail -f /var/log/httpd/error_log とかで内容をチェック。
DBI で LIKE を使うときは、プレースホルダに入れる引数を%%で囲んでおく。 my $sth = $dbh->prepare("select * from table01 where title ?") とかには、 $sth->execute(%$hoge%); とかってする。
ちゃんと DBI を use してる?
標準エラーは print STDERR $_; など。 tail -f /var/log/httpd/error_log とかで内容をチェック。
DBI で LIKE を使うときは、プレースホルダに入れる引数を%%で囲んでおく。 my $sth = $dbh->prepare("select * from table01 where title ?") とかには、 $sth->execute(%$hoge%); とかってする。
ちゃんと DBI を use してる?