I have identified what I am reasonably certain are rodent specific pinworms in captive bred snakes as well as some wild caught snakes. Since it can be difficult to tell the difference between rodent specific pinworms which just pass through without causing any problems in reptiles and the type that can cause problems, you can hit up a frozen/thawed mouse with Panacur every week for a couple of weeks at 25 to 50 mg per kilogram of the snake's weight.
I don't consider pinworms that look like the usual rodent type to be a sufficient reason to do tube medication, but if you have any doubt it's worth sticking some Panacur into the next few dead mice. At these doses (50 mg/kg max, 1 X weekly, 2-3 week duration) you aren't likely to cause any problems in the snake according to the most recent research I am aware of.