From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | SF Postgres <sfpug(at)postgresql(dot)org> |
Subject: | Re: Yet another DBD::Pg problem |
Date: | 2003-11-14 05:24:58 |
Message-ID: | 20031114052458.GH4807@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | sfpug |
On Thu, Nov 13, 2003 at 09:12:06PM -0800, Josh Berkus wrote:
> Davids, etc:
>
> Anyone get the feeling we should start a pgsql-perl mailing list?
Yes! It appears that the -interfaces list is mostly java.
> I've been getting off and on a bizarre problem were database handles
> defined in the main program can't be used in subs. I get a:
> Can't call method "prepare" on an undefined value at
> elbs_text_xfer.pl line 410
> Is this a known issue with earlier versions of DBD::pg? Something
> in my sloppy perl programming? Hints?
I think it might have something to do with either your $dbh or $sth
not being in scope when you call $sth->prepare() but David Wheeler
knows a lot more about this than I. :)
Cheers,
2 Many Daves
--
David Fetter david(at)fetter(dot)org http://fetter.org/
phone: +1 510 893 6100 cell: +1 415 235 3778
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2003-11-14 17:59:01 | Re: Meeting? November/December |
Previous Message | Josh Berkus | 2003-11-14 05:12:06 | Yet another DBD::Pg problem |