in reply to Writing the output of test::more in to another file
BEGIN { *STDERR = *STDOUT; }
test.pl > results.txt
Or you can invoke your program like:
It does the same thing (if you're on Unix-like OS).perl test.pl > foo.txt 2>&1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Writing the output of test::more in to another file
by Kashratul (Acolyte) on Mar 06, 2008 at 07:29 UTC | |
by arkturuz (Curate) on Mar 06, 2008 at 13:54 UTC |