Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: Need help with DBD::Pg

by Miguel (Friar)
on Feb 23, 2005 at 21:54 UTC ( #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"

Comment on Re^2: Need help with DBD::Pg
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2015-11-27 16:51 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls