in reply to Passing parameters to object method references
dispatch => { A => sub { $self->suba(@_) }, B => sub { $self->subb(@_) }, } [download]