Yeah, each state handler has access to a HEAP variable where you can store that kind of state data.
# in code which calls 'who': $_[HEAP]->{reason_for_calling_who} = 'whatever'; $irc->yield('who'); ... # in on_who handler: if ($_[HEAP]->{reason_for_calling_who} eq 'whatever') { # complete processing for this case } elsif ($_[HEAP]->{reason_for_calling_who} eq ...) { ... }
In reply to Re^2: POE::IRC, Where was that tall building again?
by bingos
in thread POE::IRC, Where was that tall building again?
by novastorm0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |