Yeah i also had a same problem with pinworm but i found one interesting remedy to solve it. Drink very less amount of water after every meals and drink necessary water 1 and half hour after the meals.I think If u drink more water after the meal it will survive and have necessary nutrition from your food.