in reply to Re: Command Line Programming
in thread Command Line Programming

And obviously if you wanted cmd line arguments just add them to the exe line below.
$pid = open(PROG, "| /path/to/program -a v1 -b v2 "); print PROG "input to program\n"; close(PROG);
See IPC::Open2 and IPC::Open3 for reading from STDOUT, STDERR, and writing to STDIN all for the same application.