ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ws-dev
ws-dev
Are lame Perl Questions allowed here?
by Dan Havey other posts by this author
Dec 12 2002 3:06AM messages near this date
view in the new Beta List Site
Whats with this error? | WSDL and UDDI
**WARNING: This question may not be apropo for this list, or perhaps you could direct me to 
www.perlForRetards.com?

I have to write a package for webservices.

The error is: 

Can't locate world.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at

soapServer.pl line 4.

BEGIN failed--compilation aborted at soapServer.pl line 4.

The configuration is:

ActiveState 5.61

world.pm is in \Perl\lib\world.pm

I've got:

package world; 

sub new 

{ bless {}, shift; };
sub hello 

{ my ($self) = @_;
return "Hello, World!"; }

and PERL: 

#!/usr/bin/perl
use SOAP::Transport::HTTP;
use world;
SOAP::Transport::HTTP::CGI->  dispatch_to('world')-> handle; 

 

What do I have to do to make this work?



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
Attachments:
unknown1


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved