In reply to Timmd:
Yes, the green bits of many nightshade plants are poisonous, and this is because they produce a wide variety of glycoalkaloids and saponins, generally bitter-tasting compounds that aren't very healthy for you.
Green tomatoes have relatively large quantities of tomatine, which is also a toxin and a good reason for not eating raw tomatoes.
However, I guess that you boiled the potatoes for some 20 minutes before you ate them... heating to a 100 degrees is generally enough to hydrolyse these compounds, and their toxicity is then gone, so I wouldn't worry too much.
Eating raw potatoes isn't a good idea anyway, for various reasons.
As long as you didn't eat large amounts of raw, green material I wouldn't really worry about it.