in reply to
Re: Bad file descriptor error
in thread Bad file descriptor error
Sorry for that,but this is the only error Im getting :-
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.
Other opinion (please explain)
Results (159 votes),