Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2014-11-29 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (203 votes), past polls