Redirecting output on win32 from a script called by just its name is broken, see the release notes.
Two fixes are possible:
pl2bat test1.pl test1.bat > file.txt
In reply to Re: Redirect output of Test::More/Simple
by lyklev
in thread Redirect output of Test::More/Simple
by spurperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |