Re: Problem using Event module and threads

2007-06-16 Thread Joshua N Pritikin
On Fri, Jun 15, 2007 at 03:07:31PM -0300, Roberto Etcheverry wrote: > I forgot to send you to minimum perl script that exhibits the problem. > #!/usr/bin/perl > use strict; > use warnings; > > use threads; > use Event; > > sub create_thread { > warn "in create_thread() before async()\n"; >

Announcement: Glib::Event module

2005-11-27 Thread Marc Lehmann
Hi! I am pleased to announce the (very alpha-ish) release of Glib::Event. This module overwrites the poll function used by Glib by a function compatible with the Event module. The result is that you can now mix Glib/Gtk2 code with code designed for the Event module, which I regard as *the

Re: pitfall with Perl Event module and socket io events

2005-08-25 Thread Joshua N Pritikin
On Thu, Aug 25, 2005 at 02:58:04PM +0200, Simon Hardy-Francis wrote: > I've been developing with your Perl Event module and came up again a > pitfall which took me some time to solve... maybe you would like to > consider adding some kind of 'warning' or 'hint&#x

Re: BUG REPORT: Time Drift in Event Module

2004-04-02 Thread Joshua N Pritikin
On Fri, Apr 02, 2004 at 09:10:18PM -0500, Jerry D. Hedden wrote: > I have determined that there is a definite bug in the Event module. > I have a fairly involved newsgroup reading application that I > recently converted to using the Event module. One of the timers is > supposed t

BUG REPORT: Time Drift in Event Module

2004-04-02 Thread Jerry D. Hedden
I have determined that there is a definite bug in the Event module. I have a fairly involved newsgroup reading application that I recently converted to using the Event module. One of the timers is supposed to report the applications progress every 15 minutes on the quarter hour. my $now = time

[[email protected]: Event module]

2003-01-15 Thread Joshua N Pritikin
- Forwarded message from Pascal Ronecker <[EMAIL PROTECTED]> - Subject: Event module From: Pascal Ronecker <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Organization: Hi ! I'm trying to install the Event perl module, perl Makefile and make works apparently fine, excep

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 cal

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 >

Event-Module problems...

2002-01-09 Thread Bruno Boettcher
Hello! sorry to bother, but i am kinda stuck trying to understand the Event::timer part... 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, but i didn't manage to get an asynchronous system to

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

Event module installation

2001-10-10 Thread Vincent . Mucchielli
I tried to install Event perl module from Event-0_01_tar.gz When trying to run perl script : Can't locate Event.pm in @INC (@INC contains: /usr/opt/PERL5004/lib/perl5/alpha-dec_osf/5.00404 /usr/opt/PERL5004/lib/perl5 /usr/opt/PERL5004/lib/perl5/site_perl/alpha-dec_osf /usr/opt/PERL5004/lib/pe

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
failed--cleanup aborted at ./try3 line 3. jcolten@eclipse /export/home/jcolten: >>> [EMAIL PROTECTED] 06/02/01 01:25AM >>> >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 &g

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

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 > out

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.