http://www.perlmonks.org?node_id=587086


in reply to Re: When should I use a dispatch table?
in thread When should I use a dispatch table?

Avoiding exists:
($dispatch{$item} || $dispatch{default})->()