Welcome to the board, Karlajann.
I googled the phrase and found this for you:
"Past Passive Infinitive
He planned to have been elected president by the time
he was 40 years old.
We expected the work to have been completed yesterday,
but it wasn't."
(Dave's ESL Café)
- For Teachers