There's already a book on this subject, with the title World War Z no less. (Lemur read it, have to confess, and I can only give it an "eh" rating.)

If the bacon-lovin' robots don't get us, the zombies definitely will. Shotguns and canned goods!