in reply to I mostly learned to cook from:
I learned to eat from Data Munging with Perl (David Cross).
I learned to lose weight from The Hacker's Diet (John Walker).