On 2/18/06, Tom Allison <[EMAIL PROTECTED]> wrote:

> I am trying to set up a server using Net::Server.

I believe that you omitted a vital piece at the top of your code: a
package directive.

    package AuthServer;

Without that, your @ISA variable isn't @AuthServer::ISA. But that's
not the error you're getting, so I think it was omitted when you
cut-and-pasted. With that line, I get the same results you do.

Other than that omission, I don't see that you're doing anything other
than what the docs suggest. Which version are you using? If it's below
version 1.0 (I found version 0.9 on CPAN) the documentation,
interface, or other key features are perhaps flawed or missing. Maybe
the interface is different than the documentation shows; none of the
tests (in the t directory) looks at a glance to be similar to the code
that the documentation shows.

There's a maintainer's email address in the README. It's not out of
line to ask that a module's documentation should contain a smidgen of
working example code. :-)  Have you written to that address yet?

As an alternative, there may be another module on CPAN which is
complete and debugged, or you could perhaps make your own module. Good
luck, and let us know how it turns out!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to