I have been using PerlXS to write a perl wrapper around a C++ Object. Usually my fcn takes in a string/int etc and I can just make them with no problem. I just write code like this in the .xs file
MyClass::func_a(std::string a, int b);
This time; I have a need to have a function that takes in a stl vector
MyClass::func_a(std::vector<std::string> vector)
I get this error:
conversion from `SV*' to non-scalar type
`std::vector<std::string, std::allocator<std::string> >'