That's an interesting question. I can't even imagine it was hunger as even kgs of green leaves won't satiate a family's hunger. Maybe it was an attempt at checking if the plant could cure when cooked? Maybe it was believed that all stinging and poisonous plants had magical properties? Who knows.