Can someone please tell us about the grammar and the meaning of this structure? I've come across it in a book.
Adrian was hoping to have raised enough money to buy a new computer for the school.
was hoping + to have + past participle sounds weird and unfamiliar. Is this a wish or a hope at all?