in reply to Re^3: system() issue
in thread system() issue

Thanks, that solved my problem. I had to localize the $/ value. :)

Also, if you have any suggestions to make my code more readable, I would appreciate it. Not being from a computer background, I don't have much experience making it readable by others. :)