I have a set of Perl .t scripts that I want to run on a Windows box using Perl 5.6.1. I am using the runtests method of Test::Harness. However when I run the script it gives me the error
Further investigation reveals that the following line fails in Harness.pm $fh->open($cmd) or print "can't run $test. $!\n";../t/mgtapi/new/createnew.can't run ../t/mgtapi/new/createnew.t. Bad f +ile descriptor FAILED before any test output arrived
Edit by BazB: add code tags, fix formatting slightly.
In reply to Bad file descriptor by aveekmisra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |