Using a hash of arrayrefs certainly seems like a cleaner solution. I will try that.
Andy
In reply to Re^2: Creating Arrays Dynamically by listanand in thread Creating Arrays Dynamically by listanand