Going to the stadium, I saw Tendulkar was batting.
Having gone to the stadium, I saw Tendulkar was batting.
As a learner I know that the former is present participle and the latter is perfect participle.
But people often interchange with each other
Are they interchangeable?
Thank you.