Bryan Harris wrote:

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:

Why would you ever do this? When would this be used?


Like it says - to feed data to anothe rprocess - maybe an external program. Or, as in my case, talking to yourself -

http://iis1.cps.unizar.es/Oreilly/perl/prog/ch06_02.htm#PERL2-CH-6-SECT-2.2.2

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