Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

SOAP and Perl 12

by Generoso (Prior)
on Oct 20, 2011 at 22:47 UTC ( #932776=perlquestion: print w/replies, xml ) Need Help??
Generoso has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks, I am tring to run a SOAP example that was working a couple of years ago in perl 5.8

Now I have perl

This is perl 5, version 12, subversion 4 (v5.12.4) built for MSWin32-x86-multi-thread

#!perl -w use SOAP::Transport::HTTP; SOAP::Transport::HTTP::CGI -> dispatch_to('Temperatures') -> handle; package Temperatures; sub f2c { my ($class, $f) = @_; return 5 / 9 * ($f - 32); } sub c2f { my ($class, $c) = @_; return 32 + $c * 9 / 5; }

But I am getting the follwoing error:

Process started >>>
Can't locate Class/ in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at C:/Perl/site/lib/SOAP/ line 435.
BEGIN failed--compilation aborted at C:/Perl/site/lib/SOAP/ line 435.
Compilation failed in require at C:/Perl/site/lib/SOAP/Transport/ line 17.
BEGIN failed--compilation aborted at C:/Perl/site/lib/SOAP/Transport/ line 17.
Compilation failed in require at F:\PerlSOAP\ line 3.
BEGIN failed--compilation aborted at F:\PerlSOAP\ line 3.
<<< Process finished.

Can some one help me resolve this error. Thank you.
aditional information line 17 use SOAP::Lite; line 435 use Class::Inspector;

Replies are listed 'Best First'.
Re: SOAP and Perl 12
by Anonymous Monk on Oct 20, 2011 at 23:02 UTC


    It looks like you need to install Class::Inspector. Check for it in your Perl installation and check the directories in your @INC.


      I was blind, Thank you, that fix it

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://932776]
Approved by toolic
Front-paged by toolic
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2018-11-15 19:44 GMT
Find Nodes?
    Voting Booth?
    My code is most likely broken because:

    Results (192 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!