Murcia has asked for the wisdom of the Perl Monks concerning the following question:
Hi conferes,
I want your hints,
how to exchange in a list with identifier
these identifiers by others from a reference list?
The lists are files with different lenght!
How to make it quicker, better, faster ... Thanksexample: List Guido bla1 ... Mike bla2 ... Klaus bla3 ... reference list Guido Meyer Mike Smith Klaus Rothschild so the new list should be Meyer bla1 ... Smith bla2 ... Rothschild bla3 ... I do it now, by putting the reference list in a hash and then I parse the list lane by lane, split the lane, exchange the i +dentifier and write a new list
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: exchange words in text
by borisz (Canon) on Nov 23, 2004 at 14:26 UTC | |
|
Re: exchange words in text
by Limbic~Region (Chancellor) on Nov 23, 2004 at 14:39 UTC | |
|
Re: exchange words in text - how not to !!
by Random_Walk (Prior) on Nov 23, 2004 at 15:20 UTC | |
|
Re: exchange words in text
by rev_1318 (Chaplain) on Nov 23, 2004 at 14:28 UTC | |
|
Re: exchange words in text
by artist (Parson) on Nov 23, 2004 at 17:22 UTC |