I even have some small knowledge of phrenology

“whistle every air…”

Reminded me of Dr Schultz in Django Unchained…

Aside: If you Google for “Infernal nonsense Pinafore”, the second hit is an SDMB thread.

If the sought-after phrase doesn’t appear in any of them, it should. Perhaps a “mad scientist” version. It would have to be adjusted a bit to fit, however. “I’ve even a passing knowledge of surveys phrenological”?

And to correct myself, the words are "whistle all the airs from that infernal nonsense ‘Pinafore’ ". (I auditioned once for Major-General Stanley but didn’t get it. If I’d known who else was auditioning I wouldn’t have even turned up. It was that kind of society.)