Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Reading in two text files

by stevieb (Abbot)
on Apr 25, 2012 at 03:01 UTC ( #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
Node Status?
node history
Node Type: note [id://966973]
help
Chatterbox?
[erix]: to use anchors in a html table., how do I do that?
[erix]: I'm pretty sure I've done that before but I can't seem to get it right at the moment...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2018-06-19 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (113 votes). Check out past polls.

    Notices?