Ah, okay. Then this explains why the array did not work in my case. I need to dereference it as to work on it. Thanks for the links, I'll check them out now. I guess a good knowledge of using references in Perl would help me solve many of my problems.