SoonerInKCMO
12/6/2006, 03:43 PM
So I'm running this Perl script with the '-w' switch turned on and I want to capture the diagnostics output in a file rather than having it display on the screen.
What I've tried is the following:
./perl /directory/program.pl > /directory2/output.log
This will create a file named 'output.log' but there is nothing in it - and the diagnostic messages still appear on the screen.
Any ideas? :confused:
What I've tried is the following:
./perl /directory/program.pl > /directory2/output.log
This will create a file named 'output.log' but there is nothing in it - and the diagnostic messages still appear on the screen.
Any ideas? :confused: