I have a question concerning the proper usage of POE::Filter::Reference.
I wish to use POE::Filter::Reference to send data from a child process to
a parent process across stdout (using POE::Wheel::Run).
Would this be accomplished by:
a) in the child process, use POE::Filter::Reference to seria
I'll have some code I can contribute from the current project I'm on at
work. I'll have some code for handling multiple jobs w/ POE::Wheel::Run
and hopefully soon I'll have some stuff using POE::Component::JobQueue.
A cookbook is an excellent idea and I'd love to contribute.
I'm replying to myself to say I figured it out already. I'll post working
code with good comments in a day or two, it might be helpful to others who
are struggling like myself :)
-
Brian Knox
Just Another Perl Hacker
perl
Okay... its me again :)
I'm now attempting to do what I was trying to do before (incorrectly).
Here's the new code...
1) accept a socket connection
2) if the string "test" is sent across then...
3) use POE::Wheel::Run to fork off a process
4) have the output on stdout generate and event which
Hi all. I had a talk w/ rocco and he showed me where some of my conceptual
errors concerning POE were and I'm back on track so don't waste any time
with my question if you were planning on it. Thanks!
-
Brian Knox
Just An
Thanks a ton. The mismatched package names weren't in my copy... I had
renamed them to be a little more polite when I sent them to the list, and
forgotten to rename the package name in the code.
The other changes are most helpful, I'll take a look at them this morning
when I get time.
--
Well, I've been playing with POE::Component::SubWrapper some, and got it
working. Pretty neat.
Now I'm trying to use POE::Component::SubWrapper in a little POE program
that is supposed to listen on a socket, accept data, use a package wrapped
with POE::Component::SubWrapper to process it, and the
Thanks for the info Dennis. Oh, and glad you like the hostname :) I can't
claim credit for it, the box belongs to a friend of mine who was kind
enough to give me a shell on it for mail.
-
Brian Knox
Just Another Perl Hack
I was playing around with the sample code in the "Beginner's Introduction
to POE" article at http://www.perl.com/pub/a/2001/01/poe.html.
Everything works fine, however I get this warning:
SuccessEvent coderefs are depreciated (and will go away after version
0.13) at ./poeserver.pl line 18
Failu