So basically I want to turn the string $$curr_pos{$type}$a into a hash of the same name as the string containing the values returned by extrct(). Thanks.for $type (keys %$curr_struct_pos) { for ($a=1;$$curr_struct_pos{$type}[$a];$a++) { $path = "Global${type}Def:$$curr_struct_pos{$type}[$a].def"; print $path,"\n"; $$curr_struct_pos{$type}[$a] = extrct(); } }
In reply to Complex Data Structures 2 by immybaby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |