Hello, I am new to Perl and cannot get SOAP::LITE to work. I have a Windows 2008 R2 server with Strawberry Perl verion 5.8.1.1 (it comes with what I need already copiled).I can get regular (non-web service)Perl scripts to run no problem both command line and via IIS. However, when ever I try to put USE SOAP::LITE in a script I get a BEGIN failed --compilation error on both Lite.pm and Constants.pm. Both errors ultimately point to the Lite.pm file where it checks the version. I put in my own print commands in Lite.pm and confirmed it executes the die command when it checks:

 defined($version) && defined(my def = $SOAP::Constants::SOAP_VERSIONS{$version})

I also verifed the function is receiving a version value of 1.1 which seems correct. Has anyone heard of this? I have Googled and found nothing and checked docs. My code is straight from http://guide.soaplite.com/#writing a cgibased server and http://guide.soaplite.com/#writing a client. There is nothing fancy or complicated at all.

Thanks for any guidance or suggestions you can give.


In reply to SOAP::LITE apparent version error by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.