in reply to How to use Perl instead of Coldfusion.

Dear Monks,

Thanks to all for your input. Especially the AM with the exact solution using "SOAP::Simple".

I'm on the latest Debian Linux and cannot get "SOAP::Simple" to install. I get that CPAN doesn't know what it is, so I downloaded the source from "CPAN", and I spent all day installing pre-reqs, and when it finally asked for me to install "Moose" (which I did), I thought maybe this is a late April fools day joke.

I did buy the book "Perl & XML" from Amazon and did install "SOAP::Lite" without a problem on this system.

Would any one know/show how to use "SOAP::Lite" to solve the problem? After this unsuccessful day, I hope this is the one and only time I need to work with "SOAP".

Thank you...Ed

"Well done is better than well said." - Benjamin Franklin

  • Comment on Re: How to use Perl instead of Coldfusion.

Replies are listed 'Best First'.
Re^2: How to use Perl instead of Coldfusion.
by Anonymous Monk on May 14, 2013 at 22:39 UTC

    Pretty much the same way, almost, read the cookbook

    Also all day installing ? cpanp -i BERLE/SOAP-Simple-0.00_03.tar.gz

      Dear Anonymous Monk,

      Thanks for the heads-up and I will read the cookbook. But to see if I would finally have some success, I installed using your 'cpanp' suggestion and the results are below:

      root@email# /usr/opt/perl5_32/bin/cpanp -i BERLE/SOAP-Simple-0.00_03.t +ar.gz [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources Installing SOAP::Simple (0.00_03) *** Install log written to: /root/.cpanplus/install-logs/SOAP-Simple-0.00_03-1368612787.log Module 'SOAP::Simple' installed successfully No errors installing all modules root@email# pyrperl PM_soap_example.plx Couldn't load class (SOAP::Simple::Trait) because: Can't locate XML/Co +mpile/WSDL11.pm in @INC (@INC contains: /usr/opt/perl5_32/lib/site_pe +rl/5.12.2/i686-linux /usr/opt/perl5_32/lib/site_perl/5.12.2 /usr/opt/ +perl5_32/lib/5.12.2/i686-linux /usr/opt/perl5_32/lib/5.12.2 .) at /us +r/opt/perl5_32/lib/site_perl/5.12.2/SOAP/Simple/Trait.pm line 5. BEGIN failed--compilation aborted at /usr/opt/perl5_32/lib/site_perl/5 +.12.2/SOAP/Simple/Trait.pm line 5 . Compilation failed in require at /usr/opt/perl5_32/lib/site_perl/5.12. +2/SOAP/Simple/Base.pm line 3. BEGIN failed--compilation aborted at /usr/opt/perl5_32/lib/site_perl/5 +.12.2/SOAP/Simple/Base.pm line 3. Compilation failed in require at /usr/opt/perl5_32/lib/site_perl/5.12. +2/SOAP/Simple.pm line 6. BEGIN failed--compilation aborted at /usr/opt/perl5_32/lib/site_perl/5 +.12.2/SOAP/Simple.pm line 6. Compilation failed in require at PM_soap_example.plx line 9. BEGIN failed--compilation aborted at PM_soap_example.plx line 9. root@email#

      • 'pyrperl' is a symbolic link to the Perl in directory '/usr/opt/perl5_32/bin/'.
      • line 9 is the 'use SOAP::Simple' statement.

      It was looking for 'SOAP::Simple::Trait' and 'XML/Compile/WSDL11.pm' that consumed the day. I'm not complaining, just explaining. Thanks for the help.

      Thank you...Ed

      "Well done is better than well said." - Benjamin Franklin

        It was looking for 'SOAP::Simple::Trait' and 'XML/Compile/WSDL11.pm' that consumed the day. I'm not complaining, just explaining. Thanks for the help.

        Hmm, SOAP::Simple::Trait comes with SOAP::Simple

        XML::Compile::WSDL11 is part of XML::Compile::SOAP, which is listed as a requirement for SOAP::Simple

        Maybe you want to  grep Install /root/.cpanplus/install-logs/SOAP-Simple-0.00_03-1368612787.log to see where all those files ended up, and then adjust your @INC accordingly