Thank you for the code, I've changed how I'm executing this application so I'm not sure it's going to apply anymore, but thanks anyways.
Oh, and as for the $names[1] requiring very specific page layout, I know. It's ok for now because I'm the only person using the code, but I know I shouldn't do it this way. I've just been jumping ahead in my learning of Perl because I see different things I want to try. I just haven't learned the appropiate way of aquiring name/value pairs. Thats pretty high on the list of things to learn.