How do I redirect stdout and stderr output from a Perl script to a file on Windows? How do I redirect stdout and stderr output from a Perl script to a file on Windows? selenium selenium