Re: Embedding DBI in C for PostgreSQL's SQL/MED

Tim Bunce <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Sat, Jan 31, 2009 at 02:24:23PM -0800, David Fetter wrote:
> On Sat, Jan 31, 2009 at 10:31:25AM +0100, H.Merijn Brand wrote:
> > On Fri, 30 Jan 2009 10:26:28 -0800, David Fetter <[email protected]>
> > wrote:
> > 
> > > Where can I find some example C code that properly embeds just
> > > enough Perl to use DBI?
> 
> Anybody?

I'd drop the qualifier for now. Just look at embedding perl, period.

Start with perlembed.pod (+perlcall, perlguts etc) and try to get it
linking ok.  Then you can work your way up from eval_pv("warn 42");
to eval_pv("use DBI") and beyond.

I'm not sure what the best forum for support would be but I'd suggest
[email protected] for general embedding/linking questions, and
here for anything DBI related.

Good luck!

Tim.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.