Where does Perception come in? He decides on a pizza and cooks it. It is his perception of the situation (what is in the freezer) that defined the specific solution (and specific behaviour) he applied to satisfy his need.