Re: Event module

2000-06-08 Thread Peter Marelas
On Thu, Jun 08, 2000 at 02:17:51PM +0200, Jochen Stenzel wrote: > Hello, > > > > sub handle_client { > > > my $event = shift; > > > $event->w->private->accept(); > > > } > > > > > > I want to be able to pass $socket to handle_client(). > > > I though i would use private to do this

Re: Event module

2000-06-08 Thread Jochen Stenzel
Hello, > > sub handle_client { > > my $event = shift; > > $event->w->private->accept(); > > } > > > > I want to be able to pass $socket to handle_client(). > > I though i would use private to do this. > > Try using the data() attribute instead of private(). in my opinion, the soc

Re: Event module

2000-06-08 Thread Joshua N Pritikin
On Thu, Jun 08, 2000 at 05:27:35PM +1000, [EMAIL PROTECTED] wrote: > I'm using the latest version of the Event module. > I have a question concerning passing arguements to > callback functions. I could not find this information > in the pod doc. > > This is what im doing. > > my $socket