In that case, single step through your code with the debugger and see what it's really doing. see perldebtut and the Basic Debugging Checklist.
In reply to Re^4: Perl open pipe exiting early
by RichardK
in thread Perl open pipe exiting early
by albob
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |