By means of a variational approach we study the conditions under which a polyelectrolyte in a bad solvent will undergo a transition from a rod-like structure to a ``necklace structure in which the chain collapses into a series of globules joined by stretched chain segments.