Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16. Process Management and Commu... > Controlling Input and Output of Anot...

Recipe 16.8. Controlling Input and Output of Another Program

16.8.1. Problem

You want to both write to and read from another program. The open function lets you do one or the other, but not both.

16.8.2. Solution

Use the standard IPC::Open2 module:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint