|XP is just a number|
Capturing output of linklint on Win32by zod (Scribe)
|on Feb 10, 2009 at 01:28 UTC||Need Help??|
zod has asked for the
wisdom of the Perl Monks concerning the following question:
I'm running linklint from a perl program on Win XP and I want to capture its output in a variable like so:
That doesn't work. $result is always empty despite the fact that the call to linklint works and displays output to the screen.
This does work:
$test contains the output of `perl -v`, so I assumed it would work the same way with linklint.
I also tried this:
That didn't work either with linklint (but it does work with perl -v).
So, it *appears* that this is something related to linklint, but I'm not sure what that is.