Beau E. Cox wrote:
On Monday 20 February 2006 10:06, Tom Allison wrote:
package AuthServer;
@ISA = qw[Net::Server];
my $server = bless {
port => 8081,
}, 'AuthServer';
$server->run();
No. This _works_:
package AuthServer;
use Net::Server;
@ISA = qw[Net::Server];
AuthServer->run( po
On Monday 20 February 2006 10:29, Beau E. Cox wrote:
> On Monday 20 February 2006 10:06, Tom Allison wrote:
> > package AuthServer;
> >
> > @ISA = qw[Net::Server];
> >
> > my $server = bless {
> > port => 8081,
> > }, 'AuthServer';
> >
> > $server->run();
>
> No. This _works_:
>
> package Auth
On Monday 20 February 2006 10:06, Tom Allison wrote:
> package AuthServer;
>
> @ISA = qw[Net::Server];
>
> my $server = bless {
> port => 8081,
> }, 'AuthServer';
>
> $server->run();
No. This _works_:
package AuthServer;
use Net::Server;
@ISA = qw[Net::Server];
AuthServer->run( port => 80
On 2/20/06, Beau E. Cox <[EMAIL PROTECTED]> wrote:
> Net::Server works fine for me. I suggest you specify a log file and set
> log-level to the 'debug' value (see the docs).
>From my reading of the docs, what the code in the original posting was
doing seems to be the way to do the key part of wha
On 2/20/2006, "Beau E. Cox" <[EMAIL PROTECTED]> wrote:
>On Sunday 19 February 2006 13:52, Tom Phoenix wrote:
>> 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
>> pa
On Sunday 19 February 2006 13:52, Tom Phoenix wrote:
> 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,
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
Tom Allison am Samstag, 18. Februar 2006 21.27:
> I am trying to set up a server using Net::Server.
> Mostly this is out of curiousity more than anything else.
> But following the man pages I got stuck.
>
> I was trying to set up a server to connect to port 8081,
> but none of the configuration opt