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

Re^2: readline() on closed file-handle is coming when reading the file

by johngg (Abbot)
on Aug 31, 2012 at 08:50 UTC ( #990947=note: print w/ replies, xml ) Need Help??


in reply to Re: readline() on closed file-handle is coming when reading the file
in thread readline() on closed file-handle is coming when reading the file

Or, even better:

or die "Cannot open file: $!";

so that you can see the o/s error generated when the filehandle failed to open.

Cheers,

JohnGG


Comment on Re^2: readline() on closed file-handle is coming when reading the file
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2015-07-04 16:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls