in reply to Re: writing to a database
in thread writing to a database

Of course you can write a C-Wrapper to perform the database stuff, the question is: why? I think Perl has a DBD::Informix module.