in reply to Re^2: compare two text file line by line, how to optimise
in thread compare two text file line by line, how to optimise
I don't understand the utility of sub buildTestFile, please can you explain ?
GrandFather has posted an SSCCE which is the best way to illustrate some situation in code. Rather than distribute countless MB of data as the input (which would have been rather impolite), the SSCCE builds them on the fly. This is what buildTestFile does.
Wht is the utility of %words! that we don't use in any other part of the code
Using the hash forces uniqueness as this is a property of hash keys.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: compare two text file line by line, how to optimise
by thespirit (Novice) on Feb 28, 2016 at 11:09 UTC | |
by poj (Abbot) on Feb 28, 2016 at 12:57 UTC | |
by thespirit (Novice) on Feb 28, 2016 at 13:25 UTC | |
by poj (Abbot) on Feb 28, 2016 at 13:47 UTC | |
by thespirit (Novice) on Feb 28, 2016 at 15:51 UTC | |
|