I know the output streams STDOUT and STDERR. Whenever you type in STDOUT, in a unix shell, you can redirect the output as follows:
deviolog@home:~$ perl test_script.pl > output.txt
or
deviolog@home:~$ perl test_script.pl 1> output.txt
When you type in STDERR, it looks the same, but you switch to "channel" (?) Number 2:
deviolog@home:~$ perl test_script.pl 2> output.txt
I can find in output.txt what I was printing while the error output.
My question is: can I somehow access the "channel" number 3? There is something like ...
print STDX "Hello World!\n";
... which allows redirection, for example the following:
deviolog@home:~$ perl test_script.pl 3> output.txt
ps Subsequence would be about terms for those "channels" ^ _ ^
user3112922
source
share