in reply to Hash of arrays

As others have pointed out, your earlier thread on this topic contains a lot of useful information -- including an answer from me about why you are getting that specific error message regarding a string that can't be used as an arrayref.

(The particular node I replied to had been posted by "Anonymous Monk", but I assume it must have been you -- maybe that explains why you didn't notice...)