Carnitine protects the nematode Caenorhabditis elegans from glucose-induced reduction of survival depending on the nuclear hormone receptor DAF-12.