Loading inline states from a hash
Josh803316 <[email protected]>
| Newsgroups | gmane.comp.lang.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}
]