vinoth.ree has asked for the wisdom of the Perl Monks concerning the following question:
Basically I need to compare range(1-50) of characters in two files. I am planning to first open and read the first 50 characters in each file and store in a temporary file and compare both the files. This way I can fix my issue. Could anyone suggest better solution for this ?
update:1.Instead of writing into temp file I can store the content into two different array and use List::Compare module two find the difference.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Best way to compare range of characters in two text files
by davido (Cardinal) on Jul 12, 2018 at 06:22 UTC | |
by vinoth.ree (Monsignor) on Jul 13, 2018 at 04:26 UTC | |
by kcott (Archbishop) on Jul 13, 2018 at 07:17 UTC | |
by vinoth.ree (Monsignor) on Jul 13, 2018 at 11:37 UTC | |
|
Re: Best way to compare range of characters in two text files
by Laurent_R (Canon) on Jul 12, 2018 at 07:36 UTC | |
|
Re: Best way to compare range of characters in two text files
by tybalt89 (Monsignor) on Jul 12, 2018 at 13:36 UTC | |
by LanX (Saint) on Jul 12, 2018 at 16:55 UTC | |
|