Caterpillars can be confused with the larvae of sawflies (see image on right). Lepidopteran larvae can be differentiated by: the numbers of pairs of pro-legs; sawfly larvae have 6 while caterpillars have up to 5 pairs. the number of stemmata (simple eyes); the sawfly larvae have only two, while a caterpillar has six.