letter-perfect

[letter-perfect] {adj. phr.} Memorized perfectly; perfect to thelast letter.

The actor was letter-perfect in his role.