They came out of the blackberries.
To clarify - I'd soaked them with salted water, loads of worms and bugs came out, and were got rid of. Put the drained berries in a bowl and covered with a cloth, a couple of hours later it was obvious that there were an awful lot of bugs in the berries that hadn't come out when I soaked them. They were all walking / wiggling around on top.
When I was growing up, petrol was leaded, that's why we didn't eat berries from main roads. Stuff is never clean next to a road anyway, even if you can forget about lead these days.
Yes, I've seen many dogs cock a leg and piss up a hedge. No I don't want to eat dog piss. Or indeed any piss, if I can avoid it.
I just limit myself to eating a few blackberries if I see some good ones, give them a visual once over and check for a hole in the bit that was attached to the stalk. If no sign of any wigglies I can fool myself into thinking it's all clear.
Once had roasted chestnuts at a fair at night, ate most of the bag then went to the pub, got out the last of the chestnuts only to realise they were full of maggots!!