from wiki:
Contrary to popular belief, porcupines are not capable of throwing their quills, but they detach very easily and will remain embedded in an attacker. Porcupine quills are as sharp as needles. Unlike needles, however,
the quills of New World porcupines have microscopic, backwards-facing barbs on the tip that catch on the skin making them difficult and painful to extract. Quills are about 75 mm long and 2 mm wide. If a quill becomes lodged in the tissues of a would-be attacker, the barbs act to pull the quill further into the tissues with the normal muscle movements of the attacker, moving up to several millimeters in a day. Predators have been known to die as a result of quill penetration and infection.