in reply to how do i redirect STDOUT, STDIN, or STDERR to a FILE?
It's a bit more clear and obvious. Redirecting STDIN *to* a file makes no sense, but I suppose you could do:open STDERR,">","stderr.log" or die $!; open STDOUT,">","stdout.log" or die $!;
But I'm not sure what the purpose of that would be.open STDIN,"<","stdin.txt" or die $!; print while <>;
mr.nick ...
|
|---|