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
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
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
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
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
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
>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
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
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
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
10 matches
Mail list logo