in reply to
Test harness
Sounds like you are redirecting STDOUT to
<filename>
when you really want STDERR.
If you are in a Unix environment, try
perl maketest.pl 2> <filename>
Comment on
Re: Test harness
Select
or
Download
Code
Replies are listed 'Best First'.
Re^2: Test harness
by
mandarin
(Hermit)
on May 30, 2008 at 14:43 UTC
But that would only put stderr in the file. To really put all text you see on screen to the file, use
perl maketest.pl 1> out.txt 2>&1
[download]
[reply]
[d/l]
In Section
Seekers of Perl Wisdom