From d221e87b29327b1dde045b5e4779358d218447b9 Mon Sep 17 00:00:00 2001 From: Scott Walters Date: Thu, 21 Aug 2014 05:17:05 -0400 Subject: [PATCH] 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. --- t/013_complexType.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/013_complexType.t b/t/013_complexType.t index 9b309e2..f8b8cb6 100644 --- a/t/013_complexType.t +++ b/t/013_complexType.t @@ -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