$curr_struct_pos = "string"; %$curr_struct_pos; #### $path = "Global${type}Def:$$curr_struct_pos{$type}[$a].def";