You want to use Capture::Tiny, it works on win32, it does it through fork+exec and presents a beautiful interface
use Capture::Tiny 'capture'; my ($out, $err) = capture { print "ya"; Text::BibTeX ... system ... }; print "captured out((($out))) err((($err)))";
In reply to Re: STDERR going to string
by Anonymous Monk
in thread STDERR going to string
by philkime
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |