What to do about smelly people = recurring problem* for public libraries, unfortunately. (Which you may already know, I dunno.) But legislating against it is a bit much, especially when you consider the awesome job various places are doing. My local public library, for all its many failings, has a program with some of the shelters and hostels in the city. If you bring in a letter stating that you're staying there, you can borrow up to five books at a time with no membership fee or overdue fines. Which I think is pretty cool.
no subject