>> HI, >> >> I have started learning PERL recently. I wanted some explaination >> regarding the following command. >> >> open(FILE, "|-") >> > > Perl implicitly forks a child process. the FILE file handle is opened with > write access in the parent process. what the parent process writes to FILE > can be read by the child process via STDIN. this allows you to do simple > ipc communication between the parent and the child process. for example:
[stuff cut out] Why would you ever do this? When would this be used? - Bryan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>