$ perl mycode.pl 2>1 1> debug.txt
No, that's broken in two ways. First, you are missing an ampersand... (which means your errors are going into the file ./1.) After you fix that, you'll still see the error. Pop quiz: Why?
-sauoq "My two cents aren't worth a dime.";
In reply to Re^2: Printing Warning Messages Into a File
by sauoq
in thread Printing Warning Messages Into a File
by neversaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |