Help for this page
while ( my ( $k, $v ) = each %opts ) { for ($k) { ... else { die "*** BUG: no handler for -$k.\n"; } } }
while ( my ( $k, $v ) = each %opts ) { state %dispatch = ( ... die "*** BUG: no handler for -$k.\n" if !exists $dispatch{$k}; &{$dispatch{$k}}; }