Check out the -> in the code.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"; $curr_struct_pos->{$type}[$a] = extrct(); } }
Also, use strict and warnings. They might have caught this problem for you.
------
We are the carpenters and bricklayers of the Information Age.
Vote paco for President!
In reply to Re: Complex Data Structures
by dragonchild
in thread Complex Data Structures
by immybaby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |