Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

SOAP and Perl 12

by Generoso (Vicar)
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/Inspector.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at C:/Perl/site/lib/SOAP/Lite.pm line 435.
BEGIN failed--compilation aborted at C:/Perl/site/lib/SOAP/Lite.pm line 435.
Compilation failed in require at C:/Perl/site/lib/SOAP/Transport/HTTP.pm line 17.
BEGIN failed--compilation aborted at C:/Perl/site/lib/SOAP/Transport/HTTP.pm line 17.
Compilation failed in require at F:\PerlSOAP\SOAPServer0.pl line 3.
BEGIN failed--compilation aborted at F:\PerlSOAP\SOAPServer0.pl line 3.
<<< Process finished.

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

Comment on SOAP and Perl 12
Download Code
Re: SOAP and Perl 12
by Anonymous Monk on Oct 20, 2011 at 23:02 UTC

    Hi,

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

    J.C.

      I was blind, Thank you, that fix it

Reaped: Re: SOAP and Perl 12
by NodeReaper (Curate) on Oct 22, 2011 at 12:34 UTC
Reaped: Re: SOAP and Perl 12
by NodeReaper (Curate) on Oct 24, 2011 at 12:57 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-09-17 21:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (99 votes), past polls