Poor doggies. That's gotta hurt.
I imagine it does hurt. He did have problems removing the spines from a large dog.
The vet told us this has only started in the past 8 - 10 years. He thinks someone had them as pets, and let them loose into the wild. The porcupines don't have many natural enemies, so they thrive here.