I have two output files that are generated from a perl script. They are very similar but different. Out of the 25 characters or so in each output, there is only 2 that I need to compare against each other. What is the best approach for this?

Thanks,

Chris

Recommended Answers

All 3 Replies

Hard to say, you have not given enough information. Can you be more specific?

I have two files with rows, tab delimited, of information. One file was generated from an older script, and the second from a fairly newer one. The two output files have almost the same information. I need to write a script that takes information from "row 3" in both scripts, compares the two rows, and spit out a file of the differences. Thanks for the help, I'm new at perl.

OK, you may be new, but have you tried anything yet? Please post the code you have written so far so I can see where you need help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.