http://www.perlmonks.org?node_id=1225262


in reply to Re: Inline CPP undefined subroutine
in thread Inline CPP undefined subroutine

Thanks that puts me on the way to solve it! There was a C++ mistake left, I ended up with this
use Inline 'CPP' => << 'END'; int countGC(char * _gcString) { std::string gcString(_gcString); int res(0); for (int i = 0; i < gcString.length(); i++) { if (gcString[i] +== 'C' || gcString[i] == 'G') { res++; } } return res; } END