in reply to C to perl
Or maybe you want Inline::C so you can call your C code from perl without having to translate it.