Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: Reading in two text files

by stevieb (Vicar)
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 :)

Comment on Re^2: Reading in two text files
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2015-11-26 11:12 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (697 votes), past polls