in reply to Efficient way to replace a set of values with another set of values
Just curious, but why are you looking for faster / most efficient? It seems that it would be hard to write a method to do the task that would be slow enough to make it worth speeding up --- unless you work at it.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In Section
Seekers of Perl Wisdom