I meant _______ to you as soon as I got there, but I was too busy to do so.
答案为 to have written,怎么理解不定式与后面的 got 的关系?
mean to have done 表示“本来打算做某事”,实际上却没有做。如果主句谓语动词是将来时,as soon as引导的时间状语从句应该用一般现在时;如果主句谓语动词是过去时时,as soon as引导的时间状语从句应该用一般过去时。meant是 mean 的过去时,所以as soon as引导的时间状语从句谓语动词用了过去时got。这里的got与不定式to have done没有关系。