David Giffin <david@agent911.com> writes:
> I'm working on a project with large objects. I'm getting this error:
> Can't call method "Pg::PQlo_creat" on unblessed reference
> Here is the code it is choking on..
> $conn = Pg::PQsetdb('', '', '', '', $$SD{'database'});
> $lobj_Id = $conn->Pg::PQlo_creat($mode);
Offhand, I think you want to write just
$lobj_Id = $conn->PQlo_creat($mode);
At least, my experiments with perl Pg have not needed to qualify the
names of methods invoked on an already-created object...
regards, tom lane