1) we use SWIG, not XS the C++ object is a PERL HASH i can invokes methods on the object with OBJ->method() just like a PERL object! :-)