POE::Callback - object wrapper for callbacks with lexical closures
# TODO - Make this a complete working example. my $callback = POE::Callback->new( name => "Pkg::sub", code => \&coderef, ); $callback->(@arguments);
POE::Callback wraps coderefs in magic that makes certain lexical variables persistent between calls.
It's used internally by the classes that comprise POE::Stage.
Creates a new callback from a raw CODEREF. Returns the callback, which is just the CODEREF blessed into POE::Callback.