aveekmisra has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Bad file descriptor
by Ultra (Hermit) on Mar 01, 2005 at 19:27 UTC | |
|
Re: Bad file descriptor
by marinersk (Priest) on Mar 01, 2005 at 23:43 UTC | |
|
Re: Bad file descriptor
by rev_1318 (Chaplain) on Mar 02, 2005 at 11:24 UTC |