You're using the wrong quotes. You are passing
perl -MExtUtils::Embed -e ccopts -e ldopts
as an argument instead of embedding its output in the shell command. Use backticks.
In reply to Re: calling perl program from C++
by ikegami
in thread calling perl program from C++
by baperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |