in reply to Problem with strict "refs"

Yes. It is good that you do not want to turn of strict, because that will not solve your problem. As it stands, a good answer to your problem is dependent upon the data you are dealing with. Would you please remember to post some example data ... not just the script, next time? It would be most helpful.

Your error means that you are trying to access something that isn't there - you are trying to access something as a hash ref when it isn't. Again, we could sit here all day and guess at exactly where you faulted ... but if you post the data, we can find the problem much faster.

UPDATE:
Limbic~Region++ ... that line did look very suspicious. But please show us the data! I guarantee that someone will show a more consise way to parse it. ;) (heh heh ... looks like dragonchild already did it!)

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)