Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Reading in two text files

by pemungkah (Priest)
on Apr 25, 2012 at 01:34 UTC ( #966970=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
      Open both files
      Read each line from the first file
      Split it into mount point, total space, used space, free space
      Do the same for the second file
      Compare matching mount points to see the differences.
  2. or download this
    open( my $firstfile,  '<', "DFLOG1.txt"); 
    open( my $secondfile, '<', "DFLOG2.txt"); 
        return %result;

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2016-10-21 21:21 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.