per il rotto della cuffia

Etymology
lit. 'by the tear of the bonnet'.

Prepositional phrase

 * 1)  by the skin of one's teeth