And Judah, having been comforted, went up to those who were shearing his sheep, he and Hiras his shepherd, the Odollamite. For 'shepherd' we read 'friend'. But the word is ambiguous, because both nouns are written with the same letters; but 'friend' is read re, 'shepherd' ro.
Source: Hebrew Questions on Genesis