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

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 drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2016-02-12 19:41 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (412 votes), past polls