in reply to Passing parameters to object method references
Your subs in the dispatch table need to accept parameters:
dispatch => { A => sub { $self->suba(@_) }, B => sub { $self->subb(@_) }, }
In Section
Seekers of Perl Wisdom