xType.pm line 213.". Okay, then, MyElement.pm exists in t/lib. Let's try using it. And it worked. Incidentally, the code at lib/SOAP/WSDL/XSD/Typelib/ComplexType.pm is heinous.