my %MasterType = ( 'TEXT' => { 'function' => \&run_default, 'command' => 'SIIA', 'linkedHeaders' => { 'r#' => 'INO', 'rf' => 'IS1', 'rt' => 'ITE', }, }, ); #### &{%MasterType->{'TEXT'}->{'function'}}( %MasterType->{'TEXT'}->{'command'}, %MasterType->{'TEXT'}->{'linkedHeaders'} );