ok thanks. that fixed the problem. sorry that it was so easy to fix. that always happens to me. my perl problems are always easy to fix and then i feel like a worthless noob :(.
Re^4: Running external command from perl but cannot capture output