In Oregon it is amazing how effective this program is. You never see cans or bottles as litter.
Another effect is it lowers your garbage/recycling bill as homeless will often rummage through your bins for cans/bottles freeing up bin space so you never really have an overflow problem of glass or cans.