The perfect tense is best understood as a whole.
In English, we use the perfect tense when TWO events happen, and we want to be clear about which is completed first. In this sense, the word "perfect" means "fully completed".
PAST PERFECT:
This tense is used when TWO events were BOTH completed in the PAST.
Example:
Event 1 - I studied hard for a test.
Event 2 - I entered the class to take the test.
Both of these happened in the past, but studying was completed ("perfected") FIRST. I show this with the PAST PERFECT tense, and leave the second event in the simple past:
"I HAD STUDIED hard for the test, so I ENTERED the classroom confidently."
FUTURE PERFECT:
Here, TWO events will happen in the future. But one of the events will be completed ("perfected") before the other. We but the first of the two events in the FUTURE PERFECT and the second event in what looks like the SIMPLE PRESENT (note this!). I say it "appears" to be the simple PRESENT, because we do not use "will"; however, this is merely because one "will" is sufficient for both verbs, given that a conjunction is used.
Example:
Event 1 - We will drive all night.
Event 2 - We will arrive in California.
Driving all night will be finished first, so we put that part in the FUTURE PERFECT. Arriving in California will look like the simple PRESENT:
"By the time WE ARRIVE in California, we WILL HAVE DRIVEN all night."
PRESENT PERFECT:
Here, the second event is always assumed to be "RIGHT NOW!" It is not expressly stated. It is understood.
Example:
Event 1 - I went to Disney World.
Event 2 - (THE PRESENT - RIGHT NOW)
"I have been to Disney World ten times."
This is understood as:
"I have been to Disney World ten times (before right now)."
This tense is used when it is assumed, likely or hoped that the action will CONTINUE into the future.
[cont. below]