I've seen mention of this more than once in my short time here, and it's being discussed in that "...disagree" thread.
Are snakes considered unable to learn anything? Or just BPs? If so, I have a story to tell that perhaps no one will believe re. slugs. Yes, slugs!
There's a little gap under our back door, enough for slugs to come inside. A few feet away from that back door are the dog and cat food bowls. (Slugs seem to prefer cat food over dog food.) I feed the cats very late at night, before I go to bed.
Eventually, a slug or two would appear late at night around the cat food bowls, and sometimes before the bowls were replenished. No other time of the day. Not even early evening or early night, but only late night, i.e. feeding time. They'd be gone by the morning. If I was extra late getting to the food bowls, the slug(s) would already be there, so it's not as if they smelled the food and then came in for chow time. They seem to have an internal clock and sense of direction to know exactly when to come in and where to go.
If slugs can learn that, and snakes seem higher up the scale of evolution, surely snakes are capable of learning.