Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
It was the not finding "prince" that caused it to fail (pretty much what aitap said). Intuitively, I would think the open should fail if the executable being piped to can't be found, but that wasn't the case. I added a test for the print, and that appears to return true. So, what I have is:
I'm wondering if an assumption is made internally about piping to the executable until Perl receives a return value on closing?!? In reply to Re^3: Can't close pipe to invalid process
by cLive ;-)
|
|