Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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?
[haukex]: You can put it in SOPW, but use <readmore> tags
[haukex]: Also you might want to label it "code review"
[haukex]: Unless you have specific questions, in which case SSCCE's are much better
[cbeckley]: Excellent, thank you.
[cbeckley]: CUFP is more appropriate for stuff that's finished^h^h^h^h more advanced state of completeness?

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2017-03-24 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (304 votes). Check out past polls.