How do people learn to cook a poisonous plant safely?

https://ift.tt/2ZLpBj2 is very dangerous if not prepared properly, so how did people develop and share that knowledge?

from BBC News - World https://ift.tt/2HGxUXq
https://ift.tt/eA8V8J