ssc37 has asked for the wisdom of the Perl Monks concerning the following question:
Hi ,
This is not really a perl question, but I 'm scratching my head for days to find a way to process my data with perl and the best way to achieve this.A piece of my extraction :
What approach would you have with this kind of problem ?+----+-----+-------+--------+----+----+--------+----+--------+---+ | M | m | p | k | y | my | r | s | o | c | +----+-----+-------+--------+----+----+--------+----+--------+---+ | 84 | 250 | 16700 | 4900 | 13 | 0 | 102124 | 23 | 0 | 0 |* si +milar | 84 | 250 | 17290 | 4905 | 13 | 6 | 102124 | 1 | 3687 | 0 |* si +milar | 84 | 250 | 17290 | 4905 | 13 | 6 | 102124 | 22 | 3687 | 2 |* si +milar | 84 | 250 | 17290 | 4910 | 13 | 6 | 102124 | 3 | 3687 | 2 |* si +milar | 84 | 250 | 16700 | 4900 | 13 | 6 | 102124 | 3 | 0 | 5 |* si +milar | 84 | 250 | 17290 | 4905 | 13 | 6 | 102124 | 4 | 3687 | 2 |* si +milar | 84 | 250 | 10200 | 46423 | 11 | 5 | 52012 | 23 | 485 | 1 |# si +milar | 84 | 250 | 10900 | 46423 | 11 | 5 | 52012 | 8 | 485 | 0 |# si +milar | 84 | 250 | 9900 | 46423 | 11 | 5 | 52012 | 22 | 485 | 1 |# si +milar | 84 | 250 | 10900 | 46423 | 11 | 5 | 52012 | 3 | 485 | 1 |# si +milar | 84 | 250 | 5200 | 150000 | 07 | 11 | 31609 | 8 | 54964 | 3 |& si +milar | 84 | 250 | 5490 | 150000 | 07 | 0 | 0 | 23 | 54964 | 0 |& si +milar | 84 | 250 | 5300 | 150000 | 07 | 11 | 31609 | 6 | 54964 | 0 |& si +milar | 84 | 250 | 14390 | 49501 | 11 | 5 | 0 | 22 | 140427 | 1 |§ si +milar | 84 | 250 | 13980 | 49501 | 11 | 5 | 31751 | 6 | 140427 | 0 |§ si +milar | 84 | 250 | 13980 | 49501 | 11 | 5 | 31751 | 3 | 140427 | 1 |§ si +milar | 84 | 250 | 14380 | 49501 | 11 | 5 | 0 | 23 | 140427 | 1 |§ si +milar | 84 | 250 | 14380 | 49501 | 11 | 5 | 0 | 1 | 140427 | 0 |§ si +milar +----+-----+-------+--------+----+----+--------+----+--------+---+
Personally I thought: ( I 'm lost ... )
- Extract all my table ( in an Array or Hash or AoH or HoA ?)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Find similar records based on multiple column with multiple criteria
by Kenosis (Priest) on Dec 13, 2013 at 19:44 UTC | |
by VincentK (Beadle) on Dec 13, 2013 at 20:26 UTC | |
|
Re: Find similar records based on multiple column with multiple criteria
by erix (Prior) on Dec 13, 2013 at 21:27 UTC | |
by ssc37 (Acolyte) on Dec 15, 2013 at 02:07 UTC | |
by erix (Prior) on Dec 15, 2013 at 05:41 UTC | |
|
Re: Find similar records based on multiple column with multiple criteria
by VincentK (Beadle) on Dec 16, 2013 at 14:27 UTC |