XP is just a number | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I'm trying to sort data coming from file. 1st file has
words that are in specific order like this: (not alphabetic) GAVSTE GAVARC GAVADA GAVIMM GAVSP. add so on... It is "order quide" for sorting 2nd file in flatfile (delimiter is "|"): GAVARC 10.3. Tahkoluoto 1m SOMMOL 10.3. Tahkoluoto 7m GAVSTE 7.4. Preiviiki 1p GAVARC 7.4. Preiviiki 2p SOMMOL 16.3. Kallo 6m Printig should look like this: GAVSTE 7.4. Preiviiki 1p GAVARC 10.3. Tahkoluoto 7m GAVARC 7.4. Preiviiki 1p SOMMOL 10.3. Tahkoluoto 7m SOMMOL 16.3. Kallo 6m Is this possible at all? PH ps. Hope it's readable now In reply to Sorting with perl by Anonymous Monk
|
|