Loading inline states from a hash
[email protected] (Josh803316)
| Newsgroups | perl.poe |
|---|---|
| Message-ID | <[email protected]> |
If I want to call a single session with states loaded from a hash.....what
is the best way to do this?
inline_states => [
_start => sub {},
_stop => sub{},
%subs
]
inline_states => [
_start => sub {},
_stop => sub{},
$key => $subs{$key}
]