in reply to Re^2: Missing event from InlineStates in POE::Component::Server::TCP
in thread Missing event from InlineStates in POE::Component::Server::TCP
Heaps are just session-scoped hash references. Consider them like $self, but they're kept aside for your event handlers to use.
You certainly can use them for inter-session storage, but it won't be as practical as setting aside a plain hash. Consider that your accessors would need to be event-based, which makes them insanely slow compared to $hash{foo} = 1 or just incredibly slow compared to $object->set_foo(1).
-- Rocco Caputo - http://poe.perl.org/
|
|---|