Reference: readpipe (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: readlinkChapter 5
Function Reference
Next: Reference: recv
 

readpipe

readpipe cmd

Executes cmd as a system command and returns the collected standard output of the command. In a scalar context, the output is returned as a single, possibly multiline string. In list context, a list of output lines is returned.


Previous: Reference: readlinkPerl in a NutshellNext: Reference: recv
Reference: readlinkBook IndexReference: recv

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.