Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Comparing two text files

by davido (Archbishop)
on Jan 07, 2013 at 17:40 UTC ( #1012073=note: print w/ replies, xml ) Need Help??


in reply to Comparing two text files

Two things to look at: First, "open (OUT2, ">$matches");" should have an "or die $!" appended to it so that you know for certain whether or not you're even successfully opening the file for output. Second, temporarily change "print OUT2 join(...." to just "print join(..." and visually inspect that the output to your screen is what you think it should be. That in and of itself is usually enlightening enough to help you to isolate the issue.


Dave


Comment on Re: Comparing two text files
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-07-13 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (244 votes), past polls