Work-like-a-charm Definition

verb

(simile) To be successful as a solution.

Wiktionary