Subject: | $sth->execute(undef) gives warning |
DBD::SQLite emits a "Use of uninitialized value in subroutine entry" error if undef is passed as an argument to execute():
my $dbh = DBI->connect("DBI:SQLite:dbname=test");
my $sth = $dbh->prepare("select ?");
$sth->execute(undef); # emits warning