was barfing with "Can't locate object method "new" via package "MyElement" (perhaps you forgot to load "MyElement"?) at lib/SOAP/WSDL/XSD/Typelib/Comple

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.
This commit is contained in:
Scott Walters
2014-08-21 05:17:05 -04:00
parent 001c36f8e8
commit d221e87b29
+2
View File
@@ -5,6 +5,8 @@ use lib 'lib/';
use lib '../lib/';
use lib 't/lib';
use MyElement;
use_ok qw(SOAP::WSDL::XSD::Typelib::ComplexType);
use_ok qw( MyComplexType );
# simple type derived from builtin via restriction