See IPC::Run. The documentation kinda sucks, but once you get your head around it you might find yourself reaching for it quite often. I do, anyway.

In reply to Re: Pipe, STDERR, STDOUT, and friends by gloryhack
in thread Pipe, STDERR, STDOUT, and friends by devnul

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":