You should add plain old print statements in there. Data::Dumper is handy too.
Make sure the pipe is created successfully.
Make sure that the program is actually reaching both branches.
See what it wants to print into the pipe.
See what if anything it gets out. Keep in mind that it will want to slurp the whole pipe with that read.
And make sure you're not suffering from buffering!
In reply to Re: Forking Issue
by SuicideJunkie
in thread Forking Issue
by nwboy74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |