Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Reading in two text files

by stevieb (Canon)
on Apr 25, 2012 at 03:01 UTC ( [id://966973]=note: print w/replies, xml ) Need Help??


in reply to Re: Reading in two text files
in thread Reading in two text files

It is recommended that we use the three arg use of open, but we should also check for failure:

open my $firstfile, '<', 'DFLOG1.txt' or die "Can't open file $firstfile: $!";

Nice work on the code beyond my nit :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-20 10:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found