Re: Event module question

2002-10-30 Thread Joshua N Pritikin
On Mon, Oct 28, 2002 at 04:14:56PM -, Peter Galbavy wrote: > Hope you have a minute to help. I am trying to use the Event module as the > basis for a very simplistic scheduler to do multi-host pinging etc. > > I would like to schedule a heap of events and then set one callback as the > underly

Re: Event-Module problems...

2002-01-10 Thread Jochen Stenzel
Hello, Bruno, > What i was looking for was a timoutmechanism to close idle sessions in a > script... From the description i think that the Event module is suited, yes, Event is well suited for this purpose. > i made the following testscript: > > #!/usr/bin/perl -w > use Event qw(loop); > requi

Re: Event module installation

2001-10-10 Thread Jochen Stenzel
Hello, Vincent, > I tried to install Event perl module from Event-0_01_tar.gz this version number looks out of date. Please try Event-0.83.tar.gz. It can be found at http://search.cpan.org/search?dist=Event. Jochen

Re: Event Module

2001-06-05 Thread Jochen Stenzel
Hello, Jim, > Same failure when trying the example from pages 19-20 in the .pdf doc ... perhaps >the module has a problem with Solaris? I agree with you that this is an installation problem, but I doubt that it is caused by Solaris in general. Your first message (quoted by Joshua) showed me th

Re: Event Module

2001-06-04 Thread Jim Colten
Same failure when trying the example from pages 19-20 in the .pdf doc ... perhaps the module has a problem with Solaris? Jim jcolten@eclipse /export/home/jcolten: cat try3 #!/local/bin/perl # load module, set pragma use Event; use strict; # declare a simple counter my $i=0; # install the main

Re: Event Module

2001-06-02 Thread Jochen Stenzel
Hello, >>I'm trying the Event module ... starting out with an early example >>cut&paste (I changed trhe #! line) from the pdf doc. It is not finding >>Event/all_watchers.pm I'm not sure what's going on ... I copied the script from the mail, and it run out of the box on my Linux box with Event 0

Re: Event Module

2001-06-01 Thread Joshua Pritikin
>I'm trying the Event module ... starting out with an early example >cut&paste (I changed trhe #! line) from the pdf doc. It is not finding >Event/all_watchers.pm > >Attached is: > console log from installing the module > a listing of the test pgm > output from running it > >Any idea

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