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.
By rote learning.
Via Genetic memory.
It's provided by my firmware.
I just remember them.
Thirty days hath September
My computer gets it right, usually.
I just ask someone else.
Someone punches me on the first of the month.
Results (13 votes),