in reply to Re: Can't use string as an ARRAY ref
in thread Can't use string as an ARRAY ref

I guess I have to find a way to pass these:
data => $main->[$i], and data => $type->[$i], and data => $princ->[$i] +,

as a reference, right?