Re: Centralised variables - different issue

2007-03-06 Thread Jeff Pang
-Original Message- >From: Beginner <[EMAIL PROTECTED]> >Sent: Mar 6, 2007 11:53 PM >To: beginners@perl.org >Subject: Centralised variables - different issue > >Hi, > >Following on from the earlier thread about storing common code in a >central file, I

Re: Centralised variables - different issue

2007-03-06 Thread Tom Phoenix
On 3/6/07, Beginner <[EMAIL PROTECTED]> wrote: use Mymodule qw($server); package Test; # Is this the problem? Probably. Imports are package-scoped. Now you're working in package Test, and imports from Mymodule aren't available here. Of course, you can use additional 'use' declarat

Centralised variables - different issue

2007-03-06 Thread Beginner
Hi, Following on from the earlier thread about storing common code in a central file, I have hit a problem when trying to do something similar. I have been toying with SOAP. There seems to be a number of ways to create SOAP services and I opted for one of the examples at guide.soaplite.com.