I wonder why the vet doesn't want him to just poop it out? I suppose because it's long it could cause intestinal problems...

Hydrogen peroxide is fine, as long as it isn't taken in large amounts. Tikeyas_mom's dog, Tikeya, ate chocolate once and she had to give her perioxide