in reply to Re^2: A better (problem-specific) perl hash?
in thread A better (problem-specific) perl hash?

Anonymous Monk,
What Corion didn't explicitly state is that this is just base conversion. Just as in base 16, we let the letters A-F represent 10-15, Corion is letting A, C, T, G stand for values. It is then a fairly trivial math process to convert between bases. Corion shows one way but it isn't the only one.

Cheers - L~R

  • Comment on Re^3: A better (problem-specific) perl hash?