$#{$struct->{pointers}} = last element index of pointers
@{$struct->{pointers}} = array