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).

Shilpa


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:21:37 -0400

Shilpa Arvind wrote:
HI,

I have started learning PERL recently. I wanted some explaination regarding the following command.

open(FILE, "|-")

What does this command do?

open


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

--
_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