Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Bad file descriptor error

by zing (Beadle)
on Sep 05, 2012 at 08:24 UTC ( #991780=note: print w/ replies, xml ) Need Help??


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.


Comment on Re^2: Bad file descriptor error
Download Code
Re^3: Bad file descriptor error
by choroba (Abbot) on Sep 05, 2012 at 08:25 UTC
    And what is on the line 41 of list.txt? An empty line?
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
      Christ!!!! yes that was it. Thanks a lot to you all. God bless.

        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.

Re^3: Bad file descriptor error
by Corion (Pope) on Sep 05, 2012 at 08:26 UTC

    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://991780]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2014-12-26 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (174 votes), past polls