This is an easy one.
I got the error "Couldn't close 0.opt file: Bad file descriptor". As you may know the first part is my language and the part after the colon is the PERL error message "Bad file descriptor". There were a couple of other suggestions for what may be causing this and I've listed their discussion links below. But for me the problem was simply that I had closed the file already in another subroutine. For some reason PERL does not respond with "File already closed" as would be logical.
By the way, I'm on Windows XP using ActivePERL 5.8.8.817.
Other possibly useful links:
http://www.webmasterworld.com/forum13/4039.htm - Bad directory location
http://www.velocityreviews.com/forums/t26003-why-quotbad-file-descriptorquot.html - Bad zip file or non-zip file
http://coding.derkeiler.com/Archive/Perl/perl.beginners/2004-01/1301.html - Troubleshooting suggestions
It also could have to do with permissions on the file.
Good evening
Donald W. Hasson
http://www.linkedin.com/in/DonaldHasson
http://DonaldHasson.blogspot.com
Monday, October 09, 2006
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment