Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2016-12-09 18:23 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (154 votes). Check out past polls.