Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Need help with DBD::Pg

by Miguel (Friar)
on Feb 23, 2005 at 21:54 UTC ( [id://433870]=note: print w/replies, xml ) Need Help??


in reply to Re: Need help with DBD::Pg
in thread Need help with DBD::Pg

I tried that too:
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();
Then, I get this error: Bareword "PG_DATE" not allowed while "strict subs"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://433870]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 19:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found