Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: confusing fork/readline behaviourby KurtSchwind (Chaplain) |
on Aug 13, 2015 at 18:19 UTC ( [id://1138475]=note: print w/replies, xml ) | Need Help?? |
<quote>as they don't share a file pointer
</quote>
Actually for reading they do share the same file descriptor. Try moving that open after the fork().
-- “For the Present is the point at which time touches eternity.” - CS Lewis
In Section
Seekers of Perl Wisdom
|
|