ActiveState Perl and it's Tk. If you are using another Tk, I think
you have to adjust this line: use POE qw( Loop::TkActiveState
Wheel::FollowTail ); I don't know exactly how, I think you can simply omit
the Loop::TkActiveState.
Best regards,
Alex
[code]
#!perl
=head1 NAME
apacheLogParser_tk.pl
loop has started doesn't work. Why?
What is the proper way of saying: hey Perl, stop following that file and
hey Perl, start following this file while the POE event loop is running?
Best regards,
Alex
would
be needed to make sure that the enque task would not drop any packets.
___
Alex _
Fri, 13 Mar 2009 15:49:37 -0700
heres an example of producer/consumer with wheel::run
http://poe.perl.org/?POE_Cookbook/Child_Processes_3
heres an example of producer/consumer with wheel::run
http://poe.perl.org/?POE_Cookbook/Child_Processes_3
From: Jonathan S. Polacheck jpola...@texasmutual.com
To: poe@perl.org
Sent: Friday, March 13, 2009 1:13:55 PM
Subject: Re: Continuous packet capture
are you doing filter-get() anywhere to do the conversion?
- Original Message
From: Votava, Craig M (Craig) [EMAIL PROTECTED]
To: POE Mailing List poe@perl.org
Sent: Monday, October 27, 2008 8:54:28 AM
Subject: Help with POE::Filter::JSON
Folks-
I'm trying to learn how to use
try this order ...
POE::Kernel-post ('worker' = 'random');
POE::Kernel-run();
--- On Tue, 10/7/08, Artem Harutyunyan [EMAIL PROTECTED] wrote:
From: Artem Harutyunyan [EMAIL PROTECTED]
Subject: Newbie question about sessions
To: poe@perl.org
Date: Tuesday, October 7, 2008, 10:06 AM
Hi,
I am
Date: Tuesday, October 7, 2008, 10:35 AM
Hi Alex,
POE::Kernel-post ('worker' = 'random');
POE::Kernel-run();
Yes, that works. However this doesn't solve my problem. I want session
to stay alive and wait for (possible) future events. (I will need that
when I will use my class inside a server
even if you have multiple sessions. doesnt poe itself run single threaded?
would you need multiple poe kernels running?
Martijn van Beers [EMAIL PROTECTED] wrote:
Yes, having a different session for getting the data and the ui is
almost certainly a good idea. I'm not sure what you mean by ptk's
you can run them as non-daemons using this.
http://www.plope.com/software/supervisor2/
ty [EMAIL PROTECTED] wrote: I was looking to turn some of the servers I have
written in POE into
daemons that would be run as non-root users because I do not have root
permissions on the machine they will
How to make merged variable for 2 packeges ?
For example I have 2 packages(POE::Component::My::One,
POE::Component::My::Two), then i sent from One:
__
package POE::Component::My::One
__
POE::Component::My::Two-spawn
(
V = $heap-{V},
I think that i`m doing something wrong. Every time i made
new session, after 200 postgres connections limit it`s
impossible to make new sessions. I need to make 200
sessions and use it all the time, but don`t know how...
---
Professional hosting for everyone - http://www.host.ru
As an example i`ve got Randal Schwartz`s code
(http://www.stonehenge.com/merlyn/LinuxMag/col41.listing.txt).
So, we need to extract links AND save it to DBI.
---
Professional hosting for everyone - http://www.host.ru
How to make as much childs as possible, but not more than
(for example 50%) of CPU.
thanks
---
Professional hosting for everyone - http://www.host.ru
How to make as much childs as possible, but not more
than
(for example 50%) of CPU.
I don't know. How does one portably determine their
machine's idle
CPU percent?
Can you suggest how much sessions can i use ?(KIDMAX)
system:
- Dual Intel Xeon 2.4 Ghz processors
- 1 GB Registered ECC PC2100
/lib/POE/Queue.pm
cp lib/POE/Resource/Signals.pm blib/lib/POE/Resource/Signals.pm
cp lib/POE/Wheel.pm blib/lib/POE/Wheel.pm
make[1]: Entering directory
`/usr/people/alex/mysvn/svn/trunk/tools/POE-0.3003/File-Spec-0.90'
make[2]: Entering directory
`/usr/people/alex/mysvn/svn/trunk/tools/POE-0.3003
, it is rumored that there will be a chapter on poe programming
in the new edition of Advanced Perl Programming.
Alex
--
[EMAIL PROTECTED]
Alex J. Avriette, Unix Systems Gladiator
Golf is a good walk, spoiled. - Mark Twain
connection to
the quote server went away. At that point, you could just set a delay to poll
for when it comes back, and reinstantiate your wheels.
alex
--
[EMAIL PROTECTED]
Alex J. Avriette, Microsoft Certified Power User
Give a homeless hax0r a home today! Run Debian!
Thomas Klausner has expressed an interest in a POE talk at the Vienna
perl workshop, coming up March 20-22.
Details are at http://vienna.pm.org/workshop.html. There's still
plenty of time to submit papers or set up a talk with Thomas. He can
be reached at [EMAIL PROTECTED]
Alex
--
[EMAIL
? I figured that the usual attendees of
an event in austria would read german.
Alex
--
[EMAIL PROTECTED]
Alex J. Avriette, Unix Systems Gladiator
v shpxvat ungr jvaqbjf naq v ubcr ovyy tngrf oheaf va uryy. - Ronald O. Thompson,
13
consistent, et cetera.
Now is really not the time to be placating people with complaints about
semantics.
This idea squicks me out, but I figured I should mention it.
This whole thread squicks me out already. :(
alex
--
[EMAIL PROTECTED]
Alex J. Avriette, Microsoft Certified Power User
Give
it be looking for a _start in
utility:: since poe_initialize() is actually there? it seems that after
it is passed a proper _start sub, that it should understand whether it
is prefaced with packagename:: or whatever, rather than assuming it
starts with ^_.
am i making sense here?
alex
Whoops, disregard previous. It is fixed -- i was using new( 'main' = [
... rather than new( 'utility' = [ ... . Just been looking at this too
long.
Alex
/~alex/perlcode/perlserver/perlserver.pl.txt
is the code for the server, and its now available. I could *swear* I
previously sent this code to the list, but it was in that transitory
period between two servers, so it may have never gotten out at all. so
the modules necessary for the server
23 matches
Mail list logo