in reply to calling perl program from C++

I don't want to say "RTFM" because that's not nice, but ... "go back and study the published examples very, very carefully."