I have used this when I used to grow sweet corn. Take a roll of black construction plastic and lay out a border all around the patch, about 3 ft wide. Sprinkle lime on top of the plastic. When the coons walk on it with wet feet from the dew, it will start to burn their feet. So then they stop and lick it off their feet. When I used this method, they never bothered my corn!
I used the black plastic all the way around my garden except it was much wider than 3 ft.Deer wont walk on it .I had a wonderful pea patch and not one of the deers around here ever walked it are tried to jump it.I never thought about it and lime.