Yea I can confirm it works. I always plant cucumbers around my patch of sweet corn. I have never had loss due to raccoons but my neighbors have. The idea comes from the Indians. Its called the three sisters. They planted corn with beans and cucumbers. The corn needs nitrogen, the beans put nitrogen into the ground and surrounded by the spreading cucumbers kept the raccoons out of the corn. I have always had an overabundance of cucumbers but the local grocery stores purchase some and food banks are appreciative.
Great, thanks.
A couple more things about the “3 sisters” -
the corn provides a climbing stalk for the pole beans,
and the broad leaves on the squash provide weed denying ground cover.