Thank you all for the responses. The example and the explanation are very informative. Hopefully, I'll not experience (i.e. create) any errors when try it out in my script. :-)
For the record, this is not a homework assignment as apl implies. It's a reasonable thing to suspect but it's incorrect and I don't want the monks to think I'm taking advantage of their help. I'm a network engineer tasked with making sense out of years worth of accumulated syslog data. My code skills (a little C 10 years ago and sporadic uses of perl over the years) are quite limited. The question about whether or not to use a hash was a sincere inquiry as I wasn't sure if there was a more appropriate structure which to employ.
Thank you all again for your help. It is sincerely appreciated.
Rob
ElMagnifico - Ask for it in your grocer's freezer.