< Perl Programming < Keywords
The pipe keyword
The pipe function opens a pair of connected pipes like the corresponding system call. It returns true on success.
A loop of piped processes may result in deadlock. Also, pipes use I/O buffering, so depending on the application, it may be a good idea to set $| to flush the WRITEHANDLE after each command.
Syntax
pipe READHANDLE, WRITEHANDLE
See also
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.