my %report_types = ( 0 => {name => "Report One", opts => ['show_reqs', 'date'], coderef => \&report_type_two}, 1 => {name => "Report Two", opts => ['show_reqs', 'req_type', 'date'], coderef => \&report_type_three}, );