![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
STDIN inheritance during exec and difference between getc and sysreadby bdimych (Monk) |
on Feb 25, 2013 at 19:48 UTC ( #1020557=perlquestion: print w/replies, xml ) | Need Help?? |
bdimych has asked for the wisdom of the Perl Monks concerning the following question:
Hi all!
I've accidentally found that "getc" and "sysread" behave differently after "exec": prints only "a", but prints "ab" why so? where is the "b" in the first case?
Back to
Seekers of Perl Wisdom
|
|