THE CORE. “Thompson and McConnell found that if they cut the worm in two, and allowed both worms to regenerate each half would develop the light-shock reaction. In 1962, McConnell repeated the experiment, but instead of cutting the trained flatworms in two he ground them into small pieces and fed them to other flatworms. He reported that the flatworms learned to associate the bright light with a shock much faster than flatworms who had not been fed trained worms.”
https://en.m.wikipedia.org/wiki/Planarian