On (02/15 11:01), Jay Strauss wrote:
> Basically, I'd like to start a POE::Component::Client::TCP, then continue
> sequential processing.
> Sorta like:
>
> use strict;
> use POE qw(Component::Client::TCP);
>
> POE::Component::Client::TCP->new(
> ...
> );
POE::Session->create(
inline_states => {
_start => sub {
$_[KERNEL]->{server}->put(@data);
$_[KERNEL]->post('do_something_else');
},
do_something_else => \&do_something_else,
},
);
>
> $poe_kernel->run();
POE is a programming environment, not just a collection of handy modules
to abstract tedious work away. Fire up a session which knows how to do
the work you want it to do.
--
Matt Cashner
http://eekeek.org
eek at eekeek dot org