A new study of modern reptiles will improve our ability to identify the diets of ancient animals, including dinosaurs.