pp -e 'use POE; require POE::Filter; require POE::Component::Server::TCP; POE::Component::Server::TCP->new(Port=>3240, ClientInput=>sub {$_[HEAP]{client}->put($_[ARG0])});POE::Kernel->run;' -o bin/echo_slave
many years passed and this combination changed somewhat, now you need to replace 'use' with 'require', and that's why -M stopped to work.
没有评论:
发表评论