Shilpa Arvind wrote:
This means that, whatever the child process does will the output for the parent process and it will be stored in the FILE (file handle).

open(FILE, "|-")


Forks with the file connected to the STDIN of the child process.


No, it means that what you read out of <FILE> will be input for *child

See
perldoc perlopentut

--
_Sx_ http://youve-reached-the.endoftheinternet.org/ _________________________________________________________________
perl -MMIME::Base64 -e 'print decode_base64("SnVzdCBvbmUgbW9yZSBQb3N0Zml4IDIuMnggU25hcHNob3QgRmlsdGVyLCBwbGVhc2UK");'


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to