On donderdag, dec 30, 2004, at 00:50 Europe/Amsterdam, Bas A. Schulte wrote:
Most of my code seems to work. However, I don't get the "postback" principle. I'd like to have the worker session do something that triggers a "postback_handler" as it is shown in the perldoc of POE::Component::JobQueue. I can't get this to work though.
In the example below, when the work_done state is called, I'd like to
call the postback so a "postback_handler" gets called. This should clean
up the original job. In the code below, the lines that would achieve
this are marked with "XXX". These lines appear to do absolutely nothing;
no errors but no result either.
To follow-up on this: I don't think the postback thing is fully functional, it's been commented uit in the test script (t/01_queues.t) on line 83:
# Causes some evil recursion somewhere. :( # $postback->( $heap->{test}, $heap->{task} );
As I don't need it after all, all is well :)