readpipe cmd
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.
Copyright © 2001 O'Reilly & Associates. All rights reserved.