One thing I do when I want to eat is to go online or go to my books and research healthy foods and fitness topics. Sounds kind of geeky, but it gets my mind back on the healthy lifestyle and takes away the urge to eat.
If it works for your schedule that you can get out of the house and take a walk or get involved in some other exercise, that would be even better. Evenings and nights are my danger zones, but if I exercise then, I am so much better off.
And now that you don't have to be perfect, you can be good.