If you were on *nix you would probably already know how to do redirection like perl -e ' die' 2&> out where the 2&>out redirects STDERR (and STDOUT) to the file out.
You forgot to mention that this works with Bourne shells only. Please don't assume that someone is using a Bourne shell -- or that they even have one. Some of us, in fact, despise Bourne shells, and avoid them at all cost.
In reply to Re^2: Debugging My Perl
by sintadil
in thread Debugging My Perl
by Spidy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |