in reply to Re: Bad file descriptor errorin thread Bad file descriptor error
Unknown format list.txt. Bad file descriptor at code.pl line 30, <$fh>
+ line 41.
You could have found that yourself if you printed out the lines as your program went through them, or if you added the text of the line to your error message.
So, have you looked at line 30?
What have you done to improve the error message that line 30 produces?
Maybe consider reading die to find out what that subroutine does.
DejaVu Sans Mono
Droid Sans Mono
Envy Code R
Source Code Pro
The default, whatever it is
Results (92 votes). Check out past polls.