The documentation (at http://search.cpan.org/~pjf/IPC-System-Simple-1.25/lib/IPC/System/Simple.pm says, very plainly:
"...use the "capture()" command just like you'd use backticks. If there's an error, it will die with a detailed description of what went wrong."
So, I ask, what's that look like?
Questions containing the words "doesn't work" (or their moral equivalent) will usually get a downvote from me unless accompanied by:
- verbatim error and/or warning messages
- a coherent explanation of what "doesn't work actually means.