Thanks a lot.
From: WC -Sx- Jones <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Shilpa Arvind <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: What does this command do: "|-" Date: Fri, 23 Apr 2004 14:35:44 -0400
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>
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>