Back in the day, I used to eat pretty well out of dumpsters. Wasn't really homeless, was living in an old caravan, but was proper broke.
These days, at least round here, they lock up the dumpsters, have security guards, or deliberately contaminate the food. Wankers.