in reply to calling perl from C/C++

If it is truly a script you wish to call, then use the system or fork() & exec() functions in, IIRC, stdlib.

A user level that continues to overstate my experience :-))