in reply to STDERR going to string
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)))";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: STDERR going to string
by philkime (Beadle) on Oct 15, 2011 at 12:55 UTC | |
by philkime (Beadle) on Oct 20, 2011 at 15:58 UTC | |
by Anonymous Monk on Oct 15, 2011 at 14:37 UTC | |
|
Re^2: STDERR going to string
by philkime (Beadle) on Oct 13, 2011 at 14:36 UTC |