Hi, im from germany and i'm new in perl. I have Intershop (a CMS software) that uses perl 5.005_3 (Windows NT).

I have on other computer (Windows 2000) installed perl from activestate with soap light. There the perlscript i wrote to make a simple webservicecall runs perfectly.

But if i try to run it on the other computer (Windows NT)intershop/perl couldn't locate the soap light module. I have installed it from activestate by copy the SOAP folder of the /lib folder to them. Then the error disapears. I also have installed the LPW and HTTP Module from the activestate by copy the Folders of the /Lib folder.

But now this error apears when i try to start my script:

Can't locate object method "new" via package "LWP::UserAgent" at D:\Intershop\lib/Soap/Lite.pm line 1609. On this line in lite.pm is:

1606 sub access { require LWP::UserAgent;
1607 my $self = shift->new;
1608 my $url = shift || $self->schema || Carp::croak 'Nothing to access. URL is not specified';
1609 my $ua = LWP::UserAgent->new;
1610 my $resp = $ua->request(HTTP::Request->new(GET => $url));
1611 $resp->is_success ? $resp->content : Carp::croak $resp->status_line;
1612}

The binaries i use from activestate are the ppm ziparchives for activeperl 5xx.

I would be very very gratefully for all who could help me. Thanks


In reply to How can i install soap-lite ? by Arond

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.