It has many meanings -even as a nickname-, associated with the somewhat nice pronunciation that it has in Spanish. It comes from the Latin pirulus ("perita, pear-shaped") , which ended in round vessels with a high neck, tops, cone-shaped candies, any small elongated piece, and the inevitable sexual comparisons with a penis. It is possible that the latter comes as meaning for the intervening years, as is supposed to have happened in 'cucumber'. See perol, lollipop, pituto, pendorcho.
* Only one "like" per meaning and day, the more "likes" the meaning will appear higher in the list