Karthick <[EMAIL PROTECTED]> asked: > Is it possible to embed C/C++ codes into perl programs. > (Actually I want to make use of an API, that could be used > with with C).
It's not exactly simple, but with h2xs you can create a Perl module out of standard C libraries. Well, h2xs creates the module framework and also takes a stab at creating the proper glue code to access your API, but probably you'd have to tweak it a bit to get it to work. The other alternative would be Inline::C which allows you to embed C code in your program. Both alternatives require the proper build environment for your Perl version. HTH, Thomas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>