Maggots would soon arrive and we used the DDT. There was no other "garbage" option back then.
Off topic, but just bury your food scraps in your mulch pile. No animal fats or meats though. Same with your newspapers and junk mail. I have a large blender in the garage from a paper mill lab and I re-pulp all my waste paper. Best compost ever!