SPUG: Modules screwing each other up.

Clint Moore hydo at mac.com
Thu Oct 7 16:30:01 CDT 2004


On Oct 7, 2004, at 1:40 PM, Dan Ebert wrote:
>
> Here's an interesting problem ...
>
> Module Horkage
>

	There's definitely something funky going on.

preston:~ cmoore$ perl -d -e 1


Works fine...

main::(-e:1):   1
   DB<1> use SOAP::Parser;
   DB<2> $p = new SOAP::Parser;
   DB<3> use SOAP::WSDL;
   DB<4> $g = new SOAP::Parser;
   DB<5> $w = new SOAP::WSDL;
   DB<6>


Horks....

main::(-e:1):   1
   DB<1> use SOAP::WSDL;
   DB<2> use SOAP::Parser;
   DB<3> $w = new SOAP::WSDL;
Can't locate object method "xmlschemaclass" via package 
"SOAP::Serializer" at /Library/Perl/5.8.1/SOAP/Lite.pm line 764.
   DB<4> $p = new SOAP::Parser;
   DB<5>


Double Hork 2004 Alpha II Turbo Platinum Pro Edition

main::(-e:1):   1
   DB<1> use SOAP::Parser;
   DB<2> use SOAP::WSDL;
   DB<3> $p = new Soap::Parser;
Can't locate object method "new" via package "Soap::Parser" (perhaps 
you forgot to load "Soap::Parser"?) at (eval 
95)[/System/Library/Perl/5.8.1/perl5db.pl:618] line 2.
   DB<4> $w = new Soap::WSDL;
Can't locate object method "new" via package "Soap::WSDL" (perhaps you 
forgot to load "Soap::WSDL"?) at (eval 
96)[/System/Library/Perl/5.8.1/perl5db.pl:618] line 2.
   DB<5>


	So I guess until it's fixed... maybe... use SOAP::Parser, make one 
S::P object, and then use SOAP::WSDL?  I'm not suggesting that it's a 
solution, but it would be interesting if it works.

-cm



More information about the spug-list mailing list