in reply to Re: Need help with DBD::Pg
in thread Need help with DBD::Pg
Then, I get this error: Bareword "PG_DATE" not allowed while "strict subs"use DBI qw(:sql_types); use DBD::Pg qw(:pg_types); my $sql = "..."; $sth->prepare($sql); $sth->bind_param(1,$date, {pg_type => PG_DATE}); $sth->bind_param(etc.)... $sth->execute();
|
|---|